Home > Web Front-end > CSS Tutorial > What are web standards? ?

What are web standards? ?

青灯夜游
Release: 2018-09-12 17:54:14
Original
2271 people have browsed it

This chapter will introduce to you what are web standards? ? Through the introduction, you can have a deeper understanding of web standards, and it has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Web standards

is not a single standard, but a collection of a series of standards. A web page mainly consists of three parts: Structure, Presentation and Behavior. The corresponding standards are also divided into three aspects: structured 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. Most of these standards are drafted and published by the World Wide Web Consortium (foreign language abbreviation: W3C), and some are standards developed by other standards organizations, such as the ECMAScript standard of ECMA (European Computer Manufacturers Association).

The above is Baidu’s description of web standards.

Web standards make web development easier.

Simply put, web standards can be divided into structure (html), performance (css) and behavior (JavaScript).

The structure is mainly composed of html tags. The tags we write in the page body are all for the structure of the page.

Performance is the css style sheet. Structural tags can be made more beautiful through css.

Behavior refers to the certain interaction between the page and the user, which is mainly composed of js.

Why should we have web standards?

It is more conducive to the better development of the Web for browser developers and Web program developers to comply with specified standards when developing new applications.

Developers make web pages according to web standards, which makes it simpler for developers because they can easily understand each other's coding.

Using web standards will ensure that all browsers display your website correctly without the need for time-consuming rewrites.

Web pages that adhere to standards can make it easier for search engines to access and include the web page, it can also be easier to convert to other formats, and it is easier to access program code (such as JavaScript and DOM).

Summary:

If you know the history of html, you will know that it has gone through a long browsing period from html1 to 5. In the browser war, every browser wants to dominate the world and is constantly adding its own dedicated extension packages. The victims are web developers, because you have to write separate web pages for different browsers. Until HTML4, the World Wide Web Association ended this war and created a unique HTML standard. Separating the structural representation into two languages ​​requires browser manufacturers to also follow this set of standards. Will 6 7 8 appear in the html from 1 to 5? Nope. Because the person who set the standard has turned this specification into a living standard, he will form corresponding documents as the technology develops, without increasing the version number.


The above is the detailed content of What are web standards? ?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template