+ 1

Which is the difference of using <nav> or another tag from html 5 intead of using the <div> tag as a container?

HTML tags

3rd Aug 2016, 1:37 AM
Ivan Lopez Palomo
Ivan Lopez Palomo - avatar
2 odpowiedzi
+ 1
its some kind of short form. You are just writing <nav> instead of <div class="nav"> (or <div id="nav">). Also its probably better for seo too (really dont know much).
11th Aug 2016, 12:54 AM
Bekir Uzun
Bekir Uzun - avatar
0
nav tags were created to tell the browser that this section is the navigation menu and all link are important and it is also created for better navigation menu compatibility with tablets and mobile devices
18th Aug 2016, 10:55 PM
shadow1435