The <nav> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

The <nav> tag

I want an example of in page navigation inside a page

24th Jan 2018, 4:37 PM
Achyuta Shrimate
Achyuta Shrimate - avatar
1 Answer
+ 5
The HTML <nav> element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes. <nav class="menu"> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> </ul> </nav> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
24th Jan 2018, 5:32 PM
Scooby
Scooby - avatar