What are web standards

Source: Internet
Author: User

WEB Standards

Standards is a plural, knowing that he is composed of several standards or norms, namely:
Structure specification XML, XHTML;
Performance specification CSS;
Code of conduct dom,ecmascript;

Above is the theory, that is, from these things, "norms, standards" is the meaning of uniform specifications, so that everyone in accordance with those uniform specifications for Web page Production code, the most commonly used on the two XHTML 1.0 CSS2.1, their requirements to understand, to follow the specifications to write code just.

In fact, "Web page Standardization", is a salutation, not words too literally, is to do the web! The original method did not follow the norms, and now feel that the norms are very meaningful, and then go with the norms. From this name is apprenticeship famous, good publicity and promotion.

To focus on this, you have to be very simple.

1. Learn what the HTML language is, what those tags do, and then organize the information you've expressed (text, pictures, clutter) in this language, write the code, which is good structure and semantics.

2. Learn CSS, know what CSS is doing, he is a painter, do landscaping web work, beautify everyone knows how to do it? Is the 1 inside you do that pile of things, landscaping, the first is the layout, layout is finished, text row version, and other that is the background of things.
CSS People's work is to beautify, but you have to have HTML to challenge, the whole of what table,font that call themselves not, but also to rob People's rice bowls.
But the browser to the CSS2.1 specification support is not good, so compatibility browser problem is a little headache, this aspect to do is targeted, know where the problem? Then on this specific problem to solve, the fundamental way to solve is CSS hack, look at the various browser character, support which, does not support which, others support he does not support, others do not support his support, drilling this loophole, can solve the incompatibility problem.

3. Behavioral script, he is doing interactive use, according to the event, that is, your operation, click on a, double click on a, enter a, mouse over Ah, and so on, to respond to these operations, so he is similar to the animation guide, there is a time axis, there is a causal relationship, that is why the first two did not select the loop So his job is to respond to the operation, using behavioral scripting to achieve the role of CSS beautification, it is a strong rice bowl.

Everyone's job, don't mix with others, this is called separation.

The rest of the work will be given to the browser, in accordance with these specifications, the control of his PC browser, handheld devices, blind browser, printing, can be compatible, which is why others have spent several years to establish the maintenance of those norms of reason.

What are web standards

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.