What's difference between head and header tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's difference between head and header tag?

7th Aug 2020, 11:47 PM
Mohammad Bin Salam
Mohammad Bin Salam - avatar
2 Answers
+ 3
Mohammad Bin Salam In <head> you write information that will not be displayed like keywords, description, initial scale of the window or the title, etc. <header> is a new element of HTML5 used for displaying information and to order the information in the window (remeber that HTML is a way of boxing objects in a window). It is commonly used for h1 tag or navigation menus. Happy coding!!! 🙂
8th Aug 2020, 12:02 AM
Tomás Atrat
+ 2
head is the part of you code that isnt seen by the user header is used as a title or heading to your page
7th Aug 2020, 11:56 PM
Cars
Cars - avatar