Home > Web Front-end > CSS Tutorial > What is the difference between DIV+CSS and table?

What is the difference between DIV+CSS and table?

云罗郡主
Release: 2018-11-14 17:23:16
forward
2723 people have browsed it

The content of this article is about the difference between DIV CSS and table. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

DIV CSS is one of the commonly used terms in website standards (or "WEB standards"). It is usually used to explain the difference from the table positioning method in the HTML web design language, because the XHTML website design standard In , table positioning technology is no longer used, but DIV CSS is used to achieve various style production and positioning.

div is an element in html (hypertext language). div css is a web page layout method. This web page layout method is different from the traditional table layout and truly achieves the content and content of w3c. Show phase separation.

div is a tag css is a cascading style sheet (css style)

DIV CSS advanced layout has gradually become popular, but the so-called DIV CSS layout makes people more worried, don’t let it DIV has become a substitute for Table. Multi-layer nested DIV will seriously affect the readability of the code. Let's make use of the tags provided by HTML.

DIV CSS features:

1. Comply with W3C standards. Microsoft and other companies are W3C supporters. This is the most important, as it ensures that your website will not be obsolete due to future web application upgrades.

2. Support browser backward compatibility, that is, no matter whether IE7 or Firefox wins the browser war in the future, your website will be very compatible.

3. Search engines are more friendly. Compared with traditional tables, web pages using DIV CSS technology are more friendly to search engines.

4. Style adjustment is more convenient. The separation of content and style makes page and style adjustments more convenient. Nowadays, international portals such as YAHOO and MSN, domestic portals such as NetEase and Sina, and mainstream WEB2.0 websites all adopt the DIV CSS framework model, which further confirms that DIV CSS is the general trend. Nowadays, many personal webmasters use DIV CSS to build their own website pages when creating new websites. It can be seen that DIV CSS replacing table is no longer a distant dream.

5. Comparing the size of the page made with TABLE and the page made with DIV CSS by producing and publishing the same page, the XHTML page size of DIV CSS is at least 1/4 smaller than the page made with TABLE. This makes browsing DIV CSS pages faster and faster.

The above is a complete introduction to the difference between DIV CSS and table. If you want to know more about CSS3 tutorial, please pay attention to the PHP Chinese website.

The above is the detailed content of What is the difference between DIV+CSS and table?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:divcss5.com
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