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!

In a perfect world, our projects would have unlimited resources and time. Our teams would begin coding with well thought out and highly refined UX designs.

Oh, the Many Ways to Make Triangular Breadcrumb Ribbons

SVG has its own set of elements, attributes and properties to the extent that inline SVG code can get long and complex. By leveraging CSS and some of the forthcoming features of the SVG 2 specification, we can reduce that code for cleaner markup.

You might not know this, but JavaScript has stealthily accumulated quite a number of observers in recent times, and Intersection Observer is a part of that

We may not need to throw out all CSS animations. Remember, it’s prefers-reduced-motion, not prefers-no-motion.

PWA (Progressive Web Apps) have been with us for some time now. Yet, each time I try explaining it to clients, the same question pops up: "Will my users be

It's extremely surprising to me that HTML has never had any way to include other HTML files within it. Nor does there seem to be anything on the horizon that

There are a lot of different ways to use SVG. Depending on which way, the tactic for recoloring that SVG in different states or conditions — :hover,


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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool