Six years is a long time to wait. But after all that time we are finally on the verge of a major change in how the web works. Later this year, if all goes to plan and the published schedule holds, HTML5 will finally be recommended by the W3C and be supported in most major/modern browsers (sorry IE8, you don’t count). This 5th revision of the core language of the World Wide Web introduces new features based on researched and prevailing standards and practices. Special attention has been given to making HTML5 have clear conformance criteria, laying out clear guidelines for modern and future browsers to follow.
The aim of HTML5 is to streamline markup and to add new functions that will reduce development costs by making precise rules on how to handle HTML elements. Some of the most exciting features will include:
<article>
Defines external content. It could be an external news article, blog, forum post or any other content coming from a third party.
<audio>
Supports music and streaming audio. Also supports attributes such as autoplay which will play the audio once it is ready in the browser; controls will display standard pause, stop and play functionality; and preload that loads audio on page load rather than after it.
<canvas>
Already supported in Firefox, Chrome and Opera, the <canvas> tag is used to display and draw graphics. Inside the tags, variables, dimensions, and animations can be defined.
<header> <nav> <footer>
Simplifying the usual coding for HTML seems simple enough, but these additions go a long way to standardizing how coding is done across the board. These elements can also be used multiple times in the markup without ID duplication errors, making designing subsections with their own <header> and <nav> elements much simpler.
<video>
Similar to the <audio> tag, the <video> tag comes with a library of attributes that handle embedding video onto a page a snap. Instead of using a third-party tool, like Adobe Flash, to present videos, HTML5 puts the functionality right into the browser. You can specify multiple video files, and browsers that support HTML5 video will choose one based on what video formats they support. This solution uses no JavaScript whatsoever, and it works in virtually every browser, including mobile browsers.
What is nice about HTML5 is that the team that has been working for the better part of a decade to create it had the AMAZING initiative to make it backwards compatible. Unlike the XHTML2 that the W3C was working on before jumping on the HTML5 bandwagon, this new markup language won’t break older markup.
Now, if you look around the internet and search for “HTML5 release date” you’ll see a lot of articles saying that it won’t be fully supported until the year 2022. While this date seems a bit far-fetched it is important to note that HTML5 is being rolled out incrementally and will continue to be developed in the years to come. Look at it like the continued development of Jquery or Ajax scripts. They continue to rollout new versions that support more elements and variables, but degrade well for older versions that people may be using. HTML5 is by no means a complete project, but modern browsers are already supporting many elements and there is a time in the not so distant future when HTML5 will be much more the standard then the exception.