Web standard
The Web standard is not a standard, but a collection of standards. The web page is mainly composed of three parts: structure, performance (presentation) and behavioral (BEHAVIOR). Corresponding standards are also divided into three aspects: structured standard language mainly include XHTML and XML, and the standard language mainly includes CSS, and behavioral standards mainly include object models (such as W3C DOM), ECMAScript, etc.. Most of these standards drafted and published by W3C, and some are standards for other standards organizations, such as ECMAScript standards of ECMA (European Computer Manufacturers Association). Let's briefly understand these standards:
1. Structural standard language
(1) XML
XML is the story of the Extensible Markup Language. It is currently recommended to follow the XML1.0 issued by W3C on October 6, 2000 (www.w3.org/tr/2000/rec-xml-20001006). Like HTML, XML is also from SGML, but XML is a language that can define other languages. The purpose of XML initially designed is to compensate for the shortcomings of HTML, with powerful scalability to meet the needs of network information, and later gradually use the conversion and description of network data. The benefits of XML and technical specifications are not more to say, there are many information on the Internet, and there are many books to be referenced.
(2) XHTML
XHTML is the abbreviation of the Extensible Hypertext Markup Language extension identity. It is recommended to recommend XML1.0 on January 26, 2000 (refer to http://www.w3.org/tr/xhtml1) on January 26, 2000. Although the data conversion capacity is powerful, it can be replaced by HTML, but in the face of thousands of existing sites, it is also time to use XML. Therefore, based on HTML4.0, we use XML rules to expand it to get XHTML. Simply put, the purpose of establishing XHTML is to achieve HTML to XML transition.
2. Performance Standard Language
CSS is an abbreviation for the Cascading Style Sheets laminated style sheet. It is currently recommended that W3C recommended CSS2 on May 12, 1998 (refer to http://www.w3.org/tr/CSS2/). The purpose of the W3C creates a CSS standard is to replace the HTML table format layout, frame, and other languages. Pure CSS layout combined with structural XHTML can help designers separate the appearance and structure, making it easier for sites accessing and maintenance.
3. Behavior standard
(1) DOM
The DOM is an abbreviation for the Document Object Model Document Object Model. According to W3C DOM specification (http://www.w3.org/dom/), Dom is a browser, platform, language interface, so that you can access other standard components. Briefly, DOM solves the conflict between Netscaped JavaScript and Microsoft JScript, gives Web designers and developers a standard approach to access the data, scripts, and performance layer objects in their site.
(2) ECMAScript