Recommendations and examples of web standards development

Source: Internet
Author: User
Tags object object model version
Web|web Standard Original Author: Roger Johansson, 456 Berea Street Chinese Translation: X5,x5studio

This article is authorized by X5 to publish, translation copyright belongs to x5 all

After reading the article Welcome friends to the forum to discuss the topic of learning, just translated ~ ~ ~ also please you prawns more inclusive ~ ~ ~ the level of the younger brother is really limited ~ ~ ~ I hope to get the advice of prawns ~

  1. Introduction

This article explains how Web standards make it easier for a developer to build a Web site to save time and money, and how to enable viewers to gain a better browsing experience and their reasons. At the same time, the discussion also involves a number of methods, guidelines and good examples to help you build a high quality web site that is full of affinity to as many people as possible.

  2. History

In the late 90, when the Internet and the web became mainstream, the Web browser developers did not fully support CSS (cascading style sheets, for web developers, they can use CSS to control the performance of HTML documents). This lack of support for CSS is understandable, given that CSS1 was enacted in 1996 and that CSS2 was developed in 1998 years. The lack of browser support for CSS, coupled with the demands of some graphic designers (which are related to their frequent print dealings), has led them to misuse HTML in order to control the visual performance of the Web page. A typical example is that when a designer can hide a table's borders, the way to control the layout with a hidden table is also used. Another example is the use of "transparent" (transparent), which is also invisible, but uses a blank GIF image to control the layout. Because HTML has never been used to control the performance of a document, resulting in a large number of garbled, illegal code, browser-specific code and attributes are randomly used. The word "check" is rarely used. For these codes, tag soup (tagsoup) is a very graphic name. The release of the new version of the Web browser, so that the support for CSS has been strengthened and expanded, but did not reach its proper level. Although the browser's developers to support the pace of CSS slow, but now there are many browsers have chosen to support CSS, at this time, there should be no reason to use HTML as before, should be restored to the original face: to describe the structure of the document, rather than its performance. Because of this, we are now able to use CSS to achieve its original purpose.

  3. Web Standards

  What is a Web standard?

Web standards are collections of specifications that are developed by the Consortium and other standardization organizations to create and interpret the basic content of a Web page. These specifications are designed specifically for backward-compatible documents posted on the web, enabling them to be accessed by most people.

  Structured language

HTML (Hyper-text Markup Language) 4.01XHTML (Extensible Hypertext Markup Language) 1.0XHTML 1.1XML (Extensible Markup Language) 1.0

  Expression Class language

CSS (cascading style sheet) level 1CSS Level 2 revision 1CSS LEVEL3 (in development) MathML (mathematical Indexing language) SVG (variable vector graphics)

  Object model

DOM (Document Object model) level 1DOM level 2DOM Level 3 Core

  Scripting languages

ECMAScript 262 (a standardized version of JavaScript) This article focuses on XHTML 1.0Strict (Representative structure), Csslevel 1 and Level2 (representing performance), ECMAScript262 (representing scripts-not examples of those scripts). When a document is considered to be not far from the Web standard, it means that, in addition to the technology mentioned above, it should also: use CSS to lay out the standard XHTML instead of a table using structured, semantic markup to be displayed in any browser

  Note that "being able to display in any browser" does not mean "the same effect is displayed in any browser."

It is impossible to make a document have the same display effect on different browsers and platforms. Unless you only use pictures, because the documents published on the web will be displayed by different browser software on different operating systems and displayed on different sizes and quality monitors (or on a non display), Viewers may also change the browser's default font or other preferences. Hopefully, this will give you some sense of frustration. Every person who makes a Web page should understand that there are some technical prerequisites that we have to consider, like those who book, film, and television, and they have other prerequisites to consider.

Author: X5stuido



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.