head header | Sololearn: Learn to code for FREE!


head header

what's the difference between head and header

7/1/2017 1:19:00 AM

Prashanth Kumar

3 Answers

New Answer


<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.


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


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>?