Home > Web Front-end > HTML Tutorial > [Learn DIV CSS] 1. Three things you must know_html/css_WEB-ITnose

[Learn DIV CSS] 1. Three things you must know_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:27:29
Original
1018 people have browsed it

1. The name of DIV CSS is not rigorous enough

When we used to do page layout, we mostly used Table. Many people called it "Table CSS", but now the more popular one is DIV layout. , so it’s called “DIV CSS”. It sounds quite reasonable, but don’t you know that this term misleads most web developers, thinking that the page laid out in this way is a standard page and conforms to W3C standards. Many people even laugh at developers when they see someone using Table. It is not professional enough. It is unprofessional to judge the key point of whether the page layout is standard by using Table. The standard name of DIV CSS should be called XHTML CSS, which will be mentioned later.

2. The scope of application of the two elements Table and DIV

The purpose of Table is to store data, and the purpose of DIV is to set up the page structure. There are differences between the two. job functions. It is very convenient for us to use Table when storing data. Of course, the page structure outside the table is implemented using DIV. This is determined by their purpose of birth and complies with W3C standards. Then this page is Standard page.

3. What are W3C standards

The W3C standard is not simply a standard, but a collection of standards, including three parts of standards: structural standards, performance standards and action standards.

The representative language corresponding to the structure standard is XHTML, the representative language corresponding to the presentation standard is CSS, and the representative language corresponding to the action standard is Javascript.

If a web page meets the first two standards, which are structural standards and performance standards, then the produced page is a standard page. To describe this technology of making standard pages using their corresponding languages, we should call it It's "XHTML CSS".

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template