HTML nav Tag
HTML nav Tag
The nav tag defines a set of navigation links. It is intended only for a major block of navigation links. However, not all links are present in the nav tag, and the browser uses this element to decide whether to exclude the initial rendering of its content.
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 >