HTML 5 introduces new elements to HTML for the first time since the last millennium. New structural elements include aside, figure, and section. New inline elements include time, meter, and progress. New embedding elements include videoand audio. New interactive elements include details, datagrid, and command
Even well-formed HTML pages are harder to process than they should be because of the lack of structure. You have to figure out where the section breaks go by analyzing header levels. Sidebars, footers, headers, navigation menus, main content sections, and individual stories are marked up by the catch-all div element. HTML 5 adds new elements to specifically identify each of these common constructs:
section: A part or chapter in a book, a section in a chapter, or essentially anything that has its own heading in HTML 4header: The page header shown on the page; not the same as theheadelementfooter: The page footer where the fine print goes; the signature in an e-mail messagenav: A collection of links to other pagesarticle: An independent entry in a blog, magazine, compendium, and so forth
p is still a p, and a table is still a table.
As well as the structural elements, HTML 5 adds some purely semantic block-level elements:
asidefiguredialog
I use the first two all the time in articles like this one and in my books. The third I don’t use so much myself, but it’s common in much written text.
<aside>
<h3>.xf-value</h3>
<p>
The <code type="inline">.xf-value</code> selector used here styles the input
field value but not its label. This is actually inconsistent
with the current CSS3 draft. The example really should use the
<code type="inline">::value</code> pseudo-class instead like so:
</p>
<pre class="displaycode">input::value { width: 20em; }
#ccnumber::value { width: 18em }
#zip::value { width: 12em }
#state::value { width: 3em }</pre>
<p>
However, Firefox doesn't yet support this syntax.
</p>
</aside>













