+ 1

Diffrence between header and head tags.When we use header and head tag the output is same why?

25th May 2017, 5:07 AM
Sharad Kumar Mishra
Sharad Kumar Mishra - avatar
2 Antworten
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.
25th May 2017, 1:31 PM
Shailendra Kumar
Shailendra Kumar - avatar