0

What is <nav>?

I mean it is necessary?..

29th Jun 2016, 6:00 PM
Flippy Sulistyo
Flippy Sulistyo - avatar
4 Answers
+ 5
it contains the navigable section of your web site in the html5 structure
29th Jun 2016, 6:29 PM
Avirtual
Avirtual - avatar
+ 2
The <nav> element represents the navigation for a document. The navigation can be within the document or to other documents, but it is important to notice, that not all links in a document should be marked up with the <nav> element. <nav> <ul> <li><a href="home.html" >Home</a></li> ... </ul> </nav>
30th Jun 2016, 3:43 PM
sagir
sagir - avatar
+ 1
<nav> is just for making our job easy. It is not necessary. You can use some <div> tags in the body (maybe under <header>) and make a nav too. You can see a navigation bar in many sites around the web and it's where they put some links (and lists) to their important pages.
30th Jun 2016, 4:54 PM
DanI MicraS
DanI MicraS - avatar
0
<nav> is an html5 element for creating navigation links
6th Jul 2016, 9:17 AM
saikrishna musunuru
saikrishna musunuru - avatar