HTML5 <nav> Tag
ExampleThe nav element defines a section intended for navigation:
Try it yourself » |
Definition and Usage
The <nav> tag defines a section of navigation.
Differences Between HTML 4.01 and HTML5
The <nav> tag is new in HTML5
Tips and Notes
Tip: If you have "previous" and "next" buttons in your document, they should be placed inside the <nav> element.
Standard Attributes
The <nav> tag also supports the Standard Attributes in HTML5.
Event Attributes
The <nav> tag also supports the Event Attributes in HTML5.