What is "HTML5" recommended in 2010 different from "HTML 4"?
Currently, the HTML language commonly used on the Internet is "HTML 4", And the specification was announced as a W3C recommendation on December 18, 1997. It is safe to say that this is actually going through more than 10 years'HTML 5It is said that it will become. The final version will appear around September 2010.
So, let 's see what has changed and what will be useful for the upcoming "HTML 5" era.
HTML 5
HTML 5 differences from HTML 4
Changes from HTML 4 in HTML 5
The interesting thing is "article" element for blogs and articles, "figure" element adding descriptive sentences and captions to embedded contents such as images and videos, "audio" and "video" elements for multimedia, new "Ping" indicating resources to be pinged when traversing links as attributes, and "autofocus" automatically giving focus to the form control.
As a further API, I feel that there are quite awesome changes such as 2D drawing APIs that can be used with new canvas elements, APIs for video and audio playback, APIs to enable offline applications, drag & drop APIs etc.
In the meantime, backward compatibility is secured, it is not something like bad if you have to change urgently, but it seems to be easy to do what you had to have had quite a hard time up to now is.
As an example, IBM already has a fairly concrete description of the new elements of HTML 5.
New elements of HTML 5
In addition, regarding the video and the audio written above, you may be wondering "What kind of thing are you supposed to be?", But the following story actually existed.
Slashdot Japan | Offensive defense over the treatment of Ogg Vorbis / Theora and DRM in HTML5 formulation
Initially it seems that Ogg Vorbis / Theora known as a free audio / video format was adopted as the basic HTML 5 video codec standard, but I caught a hard line between Apple and Nokia, and it was cut from the current draft It seems.
There is also an interesting description about this on the previous IBM page.
Discussions are still being made as to whether to prioritize any one format and codec. Perhaps at least supporting Ogg Theora will be strongly recommended (if not mandatory). A proprietary format such as QuickTime and a format such as patent-bound MPEG-4 will be optional. Just as the most likely scenario is that the img element is now in a format that is preferred to GIF, JPEG, PNG, etc. than competitors such as BMP, X-Bitmap, JPEG 2000, etc. Indeed The format will be decided on the market.
In fact, how easy it is, there are concrete examples below.
A call for video on the web - Opera
We know that other elements can be used comparatively and intuitively.
Opera The Fastest Browser on Earth: HTML5 input type = "date" and canvas
One SE tweet: HTML5.JP JavaScript graph library is wonderful
HTML5 preview: WEB design & amp; AJAX
Related Posts:
in Note, Web Service, Posted by darkhorse