+ 1

HTML5 header

Why do we have <head> </head> and <header></header> in the same Document type?

6th Oct 2020, 10:27 PM
Josh
Josh - avatar
2 Answers
+ 8
The head tag is used for holding Meta information, title, links, etc. and is not displayed on the page. The header tag is used within the body of the website and can be used multiple times if required, e.g. to determine the top of an article
6th Oct 2020, 10:29 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 2
All right. Thank you.
6th Oct 2020, 10:32 PM
Josh
Josh - avatar