HTML5
What is HTML5 ?
HTML5 is the latest version of the Hypertext Markup Language following on from HTML 4 and XHTML 1.0. HTML5 has been developed as a result of cooperation between the W3C and the Web Hypertext Application Technology Working Group (WHATWG). HTML 5 is still being actively developed and it is not a W3C recommendation yet. The W3C decided to abandon development of the XHTML 2.0 standard in 2010 so HTML5 is set to become the new standard for HTML and XHTML. AOL, Apple, Google, IBM, Microsoft, Mozilla, Nokia, Opera and many others are all involved in the HTML5 working group.
New Elements
HTML 5 adds a number of new tags including new structural tags, new media elements for embedding audio, video and graphics, new form and input elements and the “canvas” tag which allows drawings to be created using JavaScript.
Some of the new structural elements in HTML 5 relate to common page sections including “header”, “footer” and “nav”.The 13 new form inputs include date pickers, number sliders, email and search fields. New inbuilt form validation is also a part of the revisions HTML5 has made in the way forms are created, with the addition of autocomplete and autofocus attributes.
Doctypes
An HTML5 document is defined using this simple and easy to remember doctype:
<!DOCTYPE HTML>
Unlike in previous versions of HTML and XHTML, HTML5 does not have separate Strict and Transitional doctypes.
Browser Support
HTML5 is backwards compatible which means that it will work in older browsers, although some features will not be available. No browser has full HTML5 support yet. Microsoft has announced that Internet Explorer 9 is to support HTML5. Currently the browser with most support for HTML5 features is Opera versions 9+.
CSS3
Closely allied to HTML 5 is CSS3, the latest version of the Cascading Style Sheet markup language. CSS3 adds support for graphic effects which are currently implemented using images. These include drop shadows and rounded corners for elements.
Important Dates
HTML 4.01 became a W3C Recommendation on the 24th December 1999.
XHTML 1.0 became a W3C Recommendation on the 20th January 2000.
On January 22nd, 2008, the W3C published a working draft for HTML 5.
