head header | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

head header

what's the difference between head and header

1st Jul 2017, 1:19 AM
Prashanth Kumar
Prashanth Kumar - avatar
3 Answers
+ 7
<head> holds meta information of the document. Like title, meta, scripts, links, etc. This data is not shown in the page <header> is used in the body of the page, and can be used multiple times.
1st Jul 2017, 1:27 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 2
head will not be displayed in web pages, its a section to insert metadata header is the top section of the web pages, it will be displayed
1st Jul 2017, 1:21 AM
Izzul Haziq Safarudin
Izzul Haziq Safarudin - avatar
0
I tried '<head><h1>Welcome to my page!</h1></head>' and it worked. What's the difference between putting "Welcome to my page!" inside <head> and <header> tag? And... say I have a blog, where should I put the name of the ENTIRE blog itself, in the <head> tag or <header> tag inside the <body>?
12th Aug 2020, 12:50 PM
King