Differentiate between head and header tag? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite

Differentiate between head and header tag?

21st Apr 2016, 6:24 PM
Pruthvi Shah
Pruthvi Shah - avatar
2 Réponses
+ 2
<header> is a semantic tag added in HTML5. It's the HTML5 equivalent of using <div class="header"> for a header element in your page.
24th May 2016, 12:06 PM
James Flanders
+ 1
Head contains all the unseen content such as meta tags or title. Header is tags <h1>-<h6> each one being a header of different size.
31st May 2016, 11:22 AM
Matthew Devenish
Matthew Devenish - avatar