HTML5 nav Tag
Nav Tag
The nav tag represents a section of a page that links to other pages or to certain sections within the page. It contains navigation links so that the user can easily navigate between different pages. Not all of the links in a document should be inside a nav tag. The nav element is intended only for major blocks of navigation links. Typically, the footer element often has a list of links that do not need to be in a nav element.
Uses of nav tag:-
- It contains links to different pages
- Users can visit multiple pages
- can be placed at top of each page
- help in navigating through the website easily
- it makes the design of the website simple as users do not have to search for the links themselves
- can be easily customized
Syntax:-
Its syntax is:- < nav >