HTML5 introduces many new elements (tags). These new elements include easier ways to add audio, video, and animation to our web pages. Some new elements are meant to enhance the meaning of our layout structure. We now have the header, nav, section, article, aside, and footer elements to play with (among others).
In order to use HTML5, you must use a new doctype. Be warned, however. Many users are still using outdated browsers or worse, they may be using Internet Explorer (IE). With that in mind, we will provide a fix for IE.
The following sub-assignments will help you understand HTML5:
Tag | Description |
---|---|
<header> | Defines a header for a document or section |
<nav> | Defines main navigation links |
<section> | Defines a section in a document |
<aside> | Defines stand-alone content aside from the page content |
<footer> | Defines a footer for a document or section |
Regarding html5 compatibility, read the following article on the html5.shiv.