+ 2

About div

<Div id = "nav"> is equivalent to <nav>?

15th Mar 2017, 5:19 PM
Anderson Borges
Anderson Borges - avatar
4 ответов
+ 2
not a bit. the id, can be any, it's just an identification name. the tag <nav>, it's used for semantic purposes.
15th Mar 2017, 5:29 PM
Welliton Malta
Welliton Malta - avatar
+ 1
nav tag is inside div tag? or a don't need to use div tag? because nav tag is a block-level too.
15th Mar 2017, 5:33 PM
Anderson Borges
Anderson Borges - avatar
0
there's no need of puting it inside a div, @Anderson. Just if you want to.
15th Mar 2017, 5:39 PM
Welliton Malta
Welliton Malta - avatar
0
just <nav> ¡¡
16th Mar 2017, 6:23 PM
Eksik Manquant
Eksik Manquant - avatar