Home > Article > Web Front-end > WebCSS control page (difference between link and import methods)_html/css_WEB-ITnose
First understand:
【1】 The two web elements "Table" and "DIV" have different purposes. First, the purpose of Table is to store data. The purpose of DIV is to set up the page structure
W3C, which is the abbreviation of World Wide Web Consortium. Chinese is W3C Organization or Wanwei Network Alliance. The W3C standard is not a standard, but a collection of a series of standards.
It contains three parts of the standard: Structure (Structure), Presentation (Presentation) and Behavior (Behavior).
Structural standard languages mainly include XHTML and XML, performance standard languages mainly include CSS, and behavioral standards mainly include object models (such as W3C DOM), ECMAscript, etc.
Generally it cannot be said to be "DIV CSS" ", let's call it "XHTML CSS". The two names tend to be the latter.
【2】 There are four ways to control the page with CSS: inline style, inline style, link style, imported style
1. Inline Styles such as:
will result in HTML pages that are not pure enough and the file size is too large, which is not conducive to search Spiders crawl, resulting in high maintenance costs.
2: Embedded styles such as:
...