+ 1
Diffrence between header and head tags.When we use header and head tag the output is same why?
2 Réponses
+ 13
Similar :
https://www.sololearn.com/Discuss/410051/?ref=app
https://www.sololearn.com/Discuss/13017/?ref=app
Output is not the same!
0
<head> is one of the main parts of an HTML doc. It doesnt appear on the webpage.
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).
<header> is present in the <body> tag and appears at the top of a webpage
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.