Beginner: What is DIV+CSS? What's the advantage?

Source: Internet
Author: User
Tags advantage
css| Beginners

  What is Css+div?

css+div is one of the commonly used terms in Web site standards (or "web standards"), usually to illustrate the difference in how tables are positioned in the HTML web design language, because the XHTML web design standard does not use the table positioning technique, but instead uses the css+ Div way to achieve a variety of positioning.

CSS is an abbreviation for English cascading style Sheets (cascading style forms), a computer language used to represent file patterns such as HTML or XML.

A DIV element is an element that provides a structure and a background for the contents of a chunk (Block-level) within an HTML document. All the content between the start and end tags of a div is used to make up this block, where the attributes of the contained elements are controlled by the attributes of the div tag, or by formatting the block with a style sheet.

  Advantages and problems of Css+div website design

Xhtm is currently the international website standard design language, because XHTML website design language has the basic characteristic, this kind of css+div pattern's website design has certain superiority, but at present in the website construction application Css+div pattern also has some problems. This article synthesizes the website technology and the design personnel's experience, and from the network Marketing application angle, the CSS+DIV website design superiority and the question summarized as follows:

  Advantages of Css+div website design

First of all, the great advantage of CSS in the concise code, for a large web site, can save a lot of bandwidth, and it is well known that search engines like clean code (its true meaning is that the increase in the number of effective keywords in the total number of Web page code), Therefore, the use of CSS+DIV Web standards made of Web sites with a certain advantage of search engine friendly.

Second, Css+div made the site to make the site revision relatively simple, a lot of problems only need to change the CSS and do not need to modify the program, thereby reducing the cost of the site revision.

the problem of Css+div website design

Although Css+div has certain advantages, however, the existing problems in the construction of Css+div website are more obvious, mainly in the following aspects:

First, the high reliance on CSS makes web design more complex. Relative to the table layout in HTML4.0 (table), css+div although not high, but at least more complex than the table positioning, even for the site Design Master is very easy to have problems, not to mention beginners, which to some extent, the impact of XHTML web design language Popular application.

Second, CSS file exceptions will affect the normal browsing of the entire site. CSS Web site design elements are usually placed in several L external files, this one or several files may be quite complex, or even larger, if the CSS file call exception, then the entire site will become miserable.

Third, for CSS web design browser compatibility problem is more prominent. Web page design based on HTML4.0 there is almost no browser compatibility problem in the IE4.0 version, but the Web site that Css+div designed is normally displayed in IE browser to Firefox (Firefox may be unrecognizable (which is why it is recommended that Web marketers use Firefox). Css+div has yet to be further supported by various browser vendors.

The css+div of search engine optimization depends on the professional level of web design rather than css+div itself. Css+div Web page design does not guarantee the search engine optimization, and even can not guarantee that the HTML site has a more concise code design, not to mention the search engine for the Web page collection and sorting is clearly not based on the use of tables and CSS positioning to measure, That's why many of the Web sites that traditional table layouts make are sorted in search results, and many pages that use CSS and web standards are still behind. Because for search engine, website structure, content, related website link and so on factor is always the most important index of website optimization.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.