what is <nav> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what is <nav>

22nd May 2019, 6:20 PM
Kawsar Mahmud
Kawsar Mahmud - avatar
6 Answers
+ 15
The <nav> element identifies a group of navigation links. Links in a <nav> element may point to other webpages or to different sections of the same webpage. Ecxample <nav> <a href="#home.html">home</a> <a href="#about.html">about</a> <a href=" #contect.html">contect</a> </nav>
22nd May 2019, 7:26 PM
Mr AJX 😎😈
Mr AJX 😎😈 - avatar
+ 7
AgentSmith thank you I'm glad you like it ;) (Unrelated to my answer to AgentSmith: BTW for this topic one could also use the search bar....)
22nd May 2019, 6:30 PM
Uni - avatar
+ 6
I guess it should be explained in the SL HTML course but here you go otherwise: https://www.w3schools.com/tags/tag_nav.asp
22nd May 2019, 6:23 PM
Uni - avatar
+ 5
Bro plz use the search box....
22nd May 2019, 6:26 PM
Asmit joy
Asmit joy - avatar
+ 4
@Uni lolol! Funniest avatar I've seen here. That made my day better; thanks.
22nd May 2019, 6:25 PM
+ 3
I think it's this annoying fairy from Zelda, but I can't remember. Maybe that was navi. Nevermind. :) https://www.w3schools.com/tags/tag_nav.asp The <nav> tag defines a set of navigation links. Notice that NOT all links of a document should be inside a <nav> element. The <nav> element is intended only for major block of navigation links. Browsers, such as screen readers for disabled users, can use this element to determine whether to omit the initial rendering of this content.
22nd May 2019, 6:22 PM