+ 1

Can we use multiple (header, footer and nav) tags on the same page in html5?

Which one correct 1 or 2 ? For Example.. 1 => { <header class="header-1"> <nav>Menu LvL 1-1</nav> <nav>Menu LvL 1-2</nav> </header> <header class="header-2"> <nav>Menu LvL 2-1</nav> <nav>Menu LvL 2-2</nav> </header> <footer class="footer-1"> <nav>Footer Menu LvL 1-1</nav> <nav>Footer Menu LvL 1-2</nav> </footer> <footer class="footer-2"> <nav>Footer Menu LvL 2-1</nav> <nav>Footer Menu LvL 2-2</nav> </footer> } <!--------OR----------> 2 => { <header class="header-1"> <nav>Menu LvL 1-1</nav> <nav>Menu LvL 1-2</nav> <header class="header-2"> <nav>Menu LvL 2-1</nav> <nav>Menu LvL 2-2</nav> </header> </header> <footer class="footer-1"> <nav>Footer Menu LvL 1-1</nav> <nav>Footer Menu LvL 1-2</nav> <footer class="footer-2"> <nav>Footer Menu LvL 2-1</nav> <nav>Footer Menu LvL 2-2</nav> </footer> </footer> }

29th Jul 2018, 9:08 AM
Anup Sharma
Anup Sharma - avatar
1 Réponse
+ 7
Anup Sharma 1st one is correct
29th Jul 2018, 9:16 AM
Mohammad Amir Aqeel
Mohammad Amir Aqeel - avatar