HTML and CSS Reference
In-Depth Information
Yo u c a n a l s o q u i t e h a p p i l y u s e a n <aside> element inside an <article> too, as
long as it contains content tangentially related to just that article. A biography of
the author of just that article or further reading to go on to after you've finished
that article would be suitable. The element simply looks like this:
<aside></aside>
<NAV>
The <nav> element was created to house the document's primary navigation,
whether that is a standard “list-o-links” nav bar, a drop-down menu, or even a
search box. It shouldn't be used for secondary navigation bars, related reading links,
and so on. You can put it anywhere you like in your markup that makes sense. In
my main blog site example, it's inside the <header> :
<header>
>
.
>
</header>
There are many advantages to having the document's primary navigation inside
an unambiguous semantic element. For example, when browsers and screen read-
ers start to recognize this element, it will make accessibility hacks like “skip to
navigation” links a thing of the past.
 
Search WWH ::




Custom Search