Web Standards in detail

Source: Internet
Author: User

Recently some friends are very puzzled about what the Web Standard is, I am here to make a summary, there is better insight can be a private messages to me!

Let's talk first before we get to the point. Doctype,doctype is a shorthand for document type, the main purpose of which is to illustrate what version of XHTML or HTML you are using. The browser interprets the page code according to your DOCTYPE-defined DTD (document type definition) and shows it. So to build Web-compliant pages, DOCTYPE is an essential part of the key!

Then we'll talk about the composition of the Web Standard.

There are three main components of Web standards: Structure (Structure), monetization (Presentation), and Behavior (Behavior).

The primary language corresponding to the structural standard is XHTML.

The main language that corresponds to the performance criteria is CSS.

The main language that corresponds to the behavior standard is JavaScript.

Make a static page, the main use is XHTML+CSS, so the technology to make standard page is xhtml+css.

The advantages of using Web standards to build stations:

1. Improve page browsing speed, using CSS method, than the traditional web design method to save at least 50% of the file size.

2. Shorten the revision time and separate the performance (style/appearance) from the content (Information/data). Just modify a few simple CSS files to redesign a site with thousands of pages.

3. Reduce the cost of the website, bandwidth requirements (more concise code), reduce costs!

4. More likely to be found by search engines, improve the site in Google or Baidu ranking above.

5. Content can be accessed by a wider range of devices, including screen readers, printers, handheld devices, search robots, refrigerators and more.

The production process of the general site site is: Content Layer--- structure layer --- the performance layer --- behavior layer.

Web Standards in detail

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.