On October 23rd, 2014, we updated our
By continuing to use LinkedIn’s SlideShare service, you agree to the revised terms, so please take a few minutes to review them.
“How can I start using HTML5 if older browsers don’t support it?” But the questionitself is misleading. HTML5 is not one big thing; it is a collection of individualfeatures. 8
you can’t detect “HTML5 support,” because that doesn’t make any sense. But you candetect support for individual features, like canvas, video, or geolocation. 9
Unlike previous versions of HTML and XHTML, which are defined in termsof their syntax, HTML 5 is being defined in terms of the Document ObjectModel (DOM)—the tree representation used internally by browsers torepresent the document.Every XML and HTML document in an HTML UA is represented by aDocument object.The advantage of defining HTML 5 in terms of the DOM is that the languageitself can be defined independently of the syntax. There are primarily twosyntaxes that can be used to represent HTML documents: the HTMLserialisation (known as HTML 5) and the XML serialisation (known asXHTML 5). 11
Map of HTML 5 18
<section> A section, or section of a chapter of text, or a book.<header> The page header. This is not the same as the <head> element.<footer> The footer of the page. Typically where all the legal crapola goes.<nav> Navigation links to other pages. You could put your websites navigationin this for example.<article> A blog article could be encapsulated by this for example.<aside>The aside tag can be used to provide extra information for a block oftext. Much like sidebar material in books etc<figure>The <figure> element can be used to annotate your main text withdiagrams, which aren’t necessarily imperative to the text. 21