HTML 5.0 – A glance at new elementsPosted by Godfrey Wilson on Thursday, June 11th, 2009
WhatWG (Web Hypertext Application Technology Working Group) was formed in 2004 with focus on HTML and APIs for web applications. Specification document for HTML 5.0 is in progress. The document gets updated on a regular basis. Check out the document at http://dev.w3.org/html5/spec/Overview.html. Getting our head into the document is tedious and cannot be made to fit into one page. So here we will glance over a few new elements to get a picture of how HTML 5.0 is going to be.
Header, footer, nav, aside, article and section are new elements that will replace div. The complexities of div have paved way for these elements. Instead of having so many div tags inside the code, HTML 5 gives the capability to use separate element for each purpose. During modifications, identifying a particular portion thus becomes easy. These two snapshots will give an idea of how the simplification is going to work.
Audio Video Elements
Recently, audio and video have mass migrated to Internet. HTML 5 provides the ability to treat audio and video as web pages without the need for plug-ins to play them. That is, audio and video will be natively supported by the HTML 5 compliant browsers. The debate on whether to use a standard format or to support all formats is still on. These elements are expected to contain textual content for every video, audio brought in the web page. Such a provision will enable information to be conveyed through non-supportive browsers. Internet users with debilities will also have the accessibility to web content. Here is a lookup.
<p>I am happy to join with you today in what will go down in history as the greatest demonstration for freedom in the history of our nation.</p>
Few More Elements
Time element will help browsers, search engines and web crawlers identify time from web pages. Images are brought through the figure element. Captions of the image are always associated with the image. This will allow the user agents to understand more about the image. Dialog is a another new element and it comes up with 2 sub tags: dt, dd. dt will indicate the speaker and dd will indicate the dialog. Here is an example:
<dd>Jerry, could you show me how to hold the racket?</dd>
<dd>Sure Fay, it’s just like shaking hands. Hold your hand out as though you were going to shake my hand… </dd>
<dd>Do you mean like this?</dd>
<dd>Right, like that. Then put the racket in your hand, like this. </dd>
There is more in HTML 5. Seeing by the way developers are contributing to its specification, we can sure expect fascinating behaviors in web pages soon. Most importantly, you can contribute too. Here’s how:
Subscribe to the WhatWG mailing list: http://www.whatwg.org/mailing-list
Participate in discussions: http://forums.whatwg.org/
Comment and post blogs: http://blog.whatwg.org/
Links to articles on HTML 5: