What's the different between <Head> and <header> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's the different between <Head> and <header>

8th May 2017, 12:27 PM
Sujon Rana
Sujon Rana - avatar
3 Answers
+ 3
The <head> tag is used for defining some meta data, title, links etc. The <header> tag is used inside the <body> (it's an ordinary tag). It is used for defining some head information in your website. You can use it for example at the top of your <nav> tag. It depends on the consturctor that you want for your website.
8th May 2017, 12:37 PM
Ani Naslyan
Ani Naslyan - avatar
0
thanks,
8th May 2017, 12:34 PM
Sujon Rana
Sujon Rana - avatar
0
thanks for your information,,,,,
8th May 2017, 12:39 PM
Sujon Rana
Sujon Rana - avatar