0
<div class="header"/> or <header> ?
is there some cases where using <div class="header"/> or <div class="footer"/> would be more beneficial than using <header> or <footer>? After visiting many websites, and inspecting their elements, I noticed that they use many div with certain classes instead of <figure> <footer> .. other semantic elements.
1 Resposta
+ 3
Before HTML 5 we used divs to seperate sections in our pages. HTML 5 comes with semantic tags <audio>, <video>, <header>, <footer>, <canvas>, <article>, etc