What are web standards? ?
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
