nav
Definition and Usage
The HTML <nav> tag defines that it contains only navigation links. The HTML<nav>
tag is used for declaring a navigational section of the HTML document. The HTML <nav>
element represents a section of a page that links to other pages or to parts within the page: a section with navigation links.
Websites typically have sections dedicated to navigational links - links that enable the user to navigate the site. These links should be placed inside a <nav>
tag. Websites often have footer links such as terms of service, the home page, and a copyright page. It is sufficient to enclose these types of links inside <footer> tags - no need to use <nav>
tags.
Syntax
<nav> </nav>