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

What different tag <head> and <header>???

In html there is lesson about tag <head>, but in html 5 there is lesson about tag <header>. When I have to use head? And what the function? when I have to use header? and what the function?

29th Jul 2017, 11:51 AM
Nur Illiyan Surya Gopur
Nur Illiyan Surya Gopur - avatar
2 Réponses
+ 6
<head> is a tag is the element that contain information like meta, title, javascript, css, etc. <header> tag is a new html element. It usually used for making a header of the page. so <head> and <header> is diferent.
29th Jul 2017, 12:00 PM
Muhammad Bagus Zulmi
Muhammad Bagus Zulmi - avatar
I wanna ask the same thing. LOL. Thanks guys. May be you can explain more
1st Aug 2017, 4:27 PM
Kamal - avatar