Advertisement

HTML <nav> tag

Examples

<nav>
<a href="index.asp">Home</a>
<a href="html5_meter.asp">Previous</a>
<a href="html5_noscript.asp">Next</a>
</nav>

Try it yourself

Browser Support

IE Firefox Chrome Safari Opera

Internet Explorer 9, Firefox, Opera, Chrome and Safari support <nav> tag.

Note: 8 and earlier versions of Internet Explorer do not support the <nav> tag.

Definition and Usage

<Nav> tag to define navigation links section.

HTML 4.01 and HTML 5 differences between

<Nav> tag is new in HTML 5 tag.

Tips and Notes

Tip: If your document has a "before and after" button, you should put it in the <nav> element.

Global Properties

<nav> tag supports HTML in the global properties .

Event Properties

<nav> tag supports HTML in the event properties .