W3C understanding: understanding of the relationship between Party discipline and national law
There are two standards available for website development: W3C or IE, because IE is not compatible with W3C in many places. That is to say, if your website is developed by W3C, there will be issues with IE display, if you develop it based on IE, on the one hand, IE6, 7, and 8 versions are not compatible with each other. On the other hand, people who use other browsers, such as firefox, opera, and chrome, check that your website has problems, so you should support W3C standards.
Why is W3C standard used? When the browser releases a major update, unexpected errors may occur to the website we just created. We can only re-establish or revise the website, make it ready for new browsers. When new network technologies or interactive devices emerge, a new version of Browser needs to be developed to support new technologies. browser updates are frequent. To ensure that browser changes do not affect the content of our original website, we need to establish a universally recognized technical standard, which is our W3C standard, which standardizes the WEB.
W3C standard approval steps submit suggestions --> record --> set up a Working Group --> the Working Group develops a draft Work --> candidate specification recommendation --> propose recommendations (not recommended yet) --> recommendation (as long as it is recommended by W3C, this specification is mature and stable and can be used as a reference)
If you want to ask which W3C specifications are specific, you need to talk about the structure, presentation, and behavior.
Evolution of HTML specifications: HTML2.0 specifications have been eliminated, and there is no need to learn more. HTML3.2 specifications have added many widely used features, such as fonts, tables, applets, superscripts, and subscripts, however, newly added content and presentation separation bring unnecessary trouble. The most important feature of the HTML4.0 specification is the introduction of the style sheet CSS HTML4.01 specification for small updates to HTML4.0. At this point, W3C no longer develops HTML, starting to develop the XHTML XHTML1.0 specification, we used XML to re-Express HTML4.01. more strictly, it seems that W3C is not always correct, therefore, W3C finally discards XHTML and recommends the HTML5 standard HTML5 specification. The final setting of 2014.10.29 is complete.
To sum up, the HTML tag language has various versions. The basic syntaxes of HTML5 and HTML4 are the same, but H5 has some new features, at present, we should start from the HTML4 standard and then learn the new HTML5 features, because it is in the transition period from H4 to H5.
Specific specifications: HTML5 contains new elements <nav>,
In general, the HTML standards you want to comply with include: Closed tags, correct nesting, quotation marks for attribute values, lowercase tags (conversion is required in some environments in uppercase), and so on.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.