The predecessor of the draft them called Web 1.0 is a marketing method. In 2004, in 2007 WHATWG proposed by the W3C acceptance, and established new HTML work team. January 22, 2008, the first formal already published draft in 2010, is expected to recommend to the public on September formally. WHATWG said the standard is the ongoing work, must still be years of effort.
A new markup
Provides some new elements them with properties, such as < > (nav site navigation block) and "> footer. This tag will benefit the search engine's index finishing, and better help small screen device and visually impaired people, in addition, also used for other browsing elements provided new functions, such as < > and < video numerous > markup. Some out-of-date an HTML4 markers will be cancelled. Including pure display effect marks, such as < font > and < > center, they have already been CSS is replaced.
< > mark video
Definition and usage:
< > tag defines the video video, such as movie clips or other streaming video.
Each system and browser video format support:
< th > > them < / th
The change them: label
Drew XHTML them some Suggestions, including some 2 to improve document structure functions, such as, the new HTML tags this footer, dialog,'s worth something, the use of figure, etc, will make the content creators to create more semantic document, the developers in these occasions before all the use of div is.
Them also contains some will content and show separation of effort, developers may surprise, b and I tag still exist, but their meaning already and different, before the significance of these tags just to take a paragraph text marking out for them, not to set bold or italic style. U, font, center, strike these tags be completely removed.
The new standard is some brand new form input object, including the date, URL, Email address, but increased to other objects of non-latin characters support. Them also introduced micro data, a kind of using a machine can identification label content method to make semantic Web processing simpler. In general, these and structure of the contents related creator can create improved more clean, easier to manage web pages, such pages of search engines, such as for reading screen software more friendly.
New application programming interface (API)
In addition to the original DOM interfaces, add more API them, such as:
1. Used in instant 2D graphics Canvas tags
2. Timing media playback
3. Offline database storage
4. Document editing
5. Drag the control
6. Browsing history management
With HTML 4 different
New analytical order new elements: when a video, sections, the nav,,, a canvasinput elements,'s worth something, new properties: the date and time, email, url. New general attributes: the ping, charset async all-around properties, tabindex: id, and commit. Remove elements: center, font, strike.
HTML 5 has two characteristics:
First, strengthened the Web page performance properties. Besides can depict 2d graphics outside, still prepared for broadcast video and audio tags.
Secondly, such as adding the local database Web application function.
Exception handling
Sites/HTML) them (browser will in the wrong grammar on the processing of more flexible. In the design ensure them safely old browsers ignore them the new code. Compared with them HTML4.01 is given, the detailed rules, tries to analytical to different browsers even in happen grammar mistakes when also can return the same result.
No comments:
Post a Comment