css uses the XHTML tag of
to construct the web page layout; ; HTML uses div tags to achieve the overall web page layout, and CSS is used to achieve the display effect of the web page.The operating environment of this tutorial: Windows 7 system, css3 version, Dell G3 computer.
Related recommendations: "css Video Tutorial"
css uses the XHTML tag of
to construct web page layout.XHTML is relative to HTML and is more strict than html. It refers to web page structure specifications, etc.; while css is used to beautify the structure of each part.
html uses div tags to implement the overall web page layout, and uses css to achieve the display effect of the web page.
In the front-end layout of the web page, first use div to lay out the overall structure of the web page, then use css to control the content, and use javascript to achieve the separation of performance!
Extended knowledge:
DIV tags are called segmentation tags. The function is to set the placement position of words, paintings, tables, etc. When you put text, images, or anything else inside a DIV, it can be called a "DIV block", or a "DIV element" or a "CSS-layer", or simply a "layer". In Chinese we call it "level".
The DIV element is an element used to provide structure and background for block-level content in an HTML document. Everything between the start and end tags of the DIV is used to form the block, and the properties of the contained elements are controlled by the properties of the DIV tag, or by formatting the block using a stylesheet.
For more programming-related knowledge, please visit: Programming Teaching! !
The above is the detailed content of What XHTML tags does css use to build web page layout?. For more information, please follow other related articles on the PHP Chinese website!
Related labels:source:php.cnStatement of this WebsiteThe 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.cnLatest Articles by Author
2023-04-24 11:00:01 2023-04-24 10:55:51 2023-04-24 10:52:44 2023-04-23 17:40:51 2023-04-23 17:38:02 2023-04-23 17:34:02 2023-04-23 10:15:45 2023-04-23 10:10:52 2023-04-21 16:01:59 2023-04-21 15:58:01Latest Issues