HTML5 <nav> Tag


The nav element defines a section intended for navigation:

<a href="index.html">Home</a>
<a href="tag_meter.html">Previous</a>
<a href="tag_noscript.html">Next</a>
Code it Online »

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

Hint: 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.

Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!