+ 1

what are the difference between <head> and <header>

3rd Jul 2016, 9:12 AM
Allwyn Wilfred
Allwyn Wilfred - avatar
3 Respuestas
0
The head tags hold meta tags, title tags, link tags (css), script tags (js) and is above the body tag. you will only see the title and favicon from this. everything else is simply search engine information (meta tags) or styling and or other scripts (javascript). the header tag sits inside the body tag and hold the logo , search bar, navigation menu and login. normally you would normally have the main content under the header tag. basically.... when you go to a site. the top strip at the very top is a header tag.
4th Jul 2016, 6:38 PM
Trikyas.com
Trikyas.com - avatar
0
Actually, you can have more than one <header> element in your document. It can be used as a container for introductory content for an article beside its use for a set of links or logo.
5th Jul 2016, 3:03 AM
ZinC
ZinC - avatar
0
@zinC yes that is true. I was simply giving a "basic" explanation.
5th Jul 2016, 6:13 AM
Trikyas.com
Trikyas.com - avatar