Home >Web Front-end >CSS Tutorial >What is div+css?

What is div+css?

不言
不言Original
2019-04-03 15:16:5511697browse

What is div+css?

DIV CSS is a WEB design standard. It is a layout method for web pages. It is different from the traditional way of positioning through table layout. It can Realize the separation of web page content and performance.

DIV is the HTML tag of a web page. Usually we use the DIV tag in the HTML code together with the CSS class to layout the web page.

CSS (Cascading Style Sheet) is translated into Chinese as Cascading Style Sheet. Is a markup language used to control the style of web pages and allow the separation of style information from web content.

The use of CSS layout has the following three significant advantages over the traditional TABLE web page layout:

1: Separation of performance and content

Strip out the design part and put it In an independent style file, only text information is stored in the HTML file. Such pages are more friendly to search engines.

2: Improve page browsing speed

For the same page visual effect, the page capacity using CSS layout is much smaller than the page file capacity encoded by TABLE. The former is generally only 1 of the latter. /2 size. The browser doesn't have to compile a lot of lengthy tags.

3: Easy to maintain and revise

You can redesign the entire website page by simply modifying a few CSS files.

The above is the detailed content of What is div+css?. For more information, please follow other related articles on the PHP Chinese website!

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