Answer what is div+css

Source: Internet
Author: User
Tags advantage

Div+css 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 div+ CSS 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.

DIV+CSS Web site design Advantages and problems xhtm is currently advocated by the International website standard design language, because the XHTML website design language has the basic characteristics, this div+css mode of Web site design has some advantages, but at present in the website construction application div+ There are also some problems with CSS patterns. This article synthesizes the website technology and the design personnel's experience, and from the network Marketing application angle, the DIV+CSS website design superiority and the question summarized as follows:

Advantages of DIV+CSS 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 increased the number of effective keywords for the total number of Web page code), so use div+ CSS Web Standard made Web site has a certain advantage of search engine friendliness.

Secondly, the site made by Div+css makes the website revision relatively simple, many problems need to change the CSS without changing the program, thus reducing the cost of the site revision.

The problem of DIV+CSS website design

Although DIV+CSS has certain advantages, however, the existing problems in the construction of DIV+CSS 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), div+css 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 issue in the IE4.0 version, but Div+css's web site, which is normally displayed in IE browsers, is likely to be unrecognizable in Firefox (Firefox). That's why it's recommended that Web marketers use Firefox. Div+css has yet to be further supported by various browser vendors.

Finally, div+css to search engine optimization depends on the professional level of web design rather than div+css itself.

DIV+CSS 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.