HTML and CSS Reference
In-Depth Information
Name
nav
Synopsis
<nav> . . . </nav>
Not in HTML 4.01 . Represents a section of the document intended for navigation. Not all
lists of links are appropriate for nav , only those that represent major navigation blocks on a
page or within a section. The links within a nav element can be to other documents or to other
areas within the current document.
Usage
Categories:
Flow content, sectioning content, palpable content
Permitted contexts:
Where flow content is expected
Permitted content:
Flow content (may not contain main elements)
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
<nav>
<ul>
<li><a href="">About us</a></li>
<li><a href="">Contact</a></li>
Search WWH ::




Custom Search