Home > Web Front-end > Front-end Q&A > What XHTML tags does css use to build web page layout?

What XHTML tags does css use to build web page layout?

藏色散人
Release: 2023-01-04 09:38:37
Original
9863 people have browsed it

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.

What XHTML tags does css use to build web page layout?

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:
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