HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

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 >

Code Explanation

All Tutorials related to HTML Advance

All Sections related to HTML