Look out folks, because it’s coming, and developers need to take notice.
After years of cross-browser catastrophes and CSS styling hacks (Internet Explorer) that sought to render design and development projects uniformly across all browsers, it seems as though a solution is finally on it’s way.
HTML 5 is still a DRAFT, meaning that open issues are still being discussed and the use of this mark-up across all major platforms is not fully supported yet. While this new core language is still getting all of it’s quirks worked out, it is already being used to develop functional websites with a variety of new features available.
In this article I would like to take a look at some of the new <tags> offered to designers and developers in HTML 5. In no way is this a complete list of the tags available to HTML 5, but I wanted to look at some that, as a developer, I found interesting:
The DOCTYPE
<!DOCTYPE html>
Before we look at the new tags, I felt it necessary to reference the new DOCTYPE used to declare an HTML 5 document. It’s simple, effective, and downright sexy.
The <article> tag
<article>This is some article text.</article>
The <article> section is new to HTML 5 and is used to specify independent, self-contained content.
The <audio> tag
<audio controls="controls"> <source src="intro.mp3" type="audio/mp3" /> <source src="intro.ogg" type="audio/ogg" /> The 'audio' tag is not supported in your browser </audio>
The <audio> tag is used to play streaming audio, music and sounds. In the example above, both the ‘.mp3′ and ‘.ogg’ formats are specified to allow for cross-browser compatibility. You will also notice that ‘controls’ are added to the player via the ‘controls’ attribute.
The <embed> tag
<embed src="myintro.swf" type="application/x-shockwave-flash" height="250" width="250" />
The <embed> tag defines a container that is used to serve interactive content and content from external applications. In the example above, I have used the ‘type’ attribute to specify the MIME-type of the content I wish to embed. I have also specified the ‘height’ and ‘width’ attributes to set the dimensions of the container.
The <footer> tag
<footer>Copyright 2012 YourWebsite.com All Rights Reserved</footer>
The <footer> section is used for defining the footer of an HTML 5 document or section. Footers historically contain information such as copyright declarations, website authors, contact information, and navigational links. Footers have been traditionally placed at the bottom of a document, however this placement is not required in HTML 5.
The <header> tag
<header> <h1>This is an h1 heading but it could be an h5 or h3 heading</h1> <p>This is some information. This is some more information.</p> </header>
The <header> section will typically contain the section’s heading (h1-h5 element) text, but is not restricted to this specific content. This section can contain logos, forms, and navigational elements.
You can find lots of other useful information on HTML 5 HERE








