How does header work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How does header work?

10th Oct 2018, 9:16 PM
Santiago Princess
Santiago Princess - avatar
5 Answers
+ 4
<head> tags contain configuration information about the page. <header> tags are what appears usually as a title on the site.
11th Oct 2018, 2:24 AM
Apple Blossom
Apple Blossom - avatar
+ 3
The header is an HTML tag used to define a header in webpages. And it's a new tag in HTML5. For example: HTML code is like this: <header></header> CSS code is like this: header { width: 100%; height: 60px: }
10th Oct 2018, 11:05 PM
Abdou
+ 1
contents appear in title bar and also used by search engines for indexing
11th Oct 2018, 4:56 AM
Ubaid Siddiqui
Ubaid Siddiqui - avatar
+ 1
In Html every tag is meant for different purpose. While rendering data in Html <body> tag repeats and reloaded evrytime But <head>tag doesn't <head > tag contains the startup script files and other required settings. <head> tag is loaded before the body.
12th Oct 2018, 4:47 AM
Jai Verma
Jai Verma - avatar
0
as far as I know in the past developers used to structure web pages with div elements and that was messy and confusing, but when the html5 came to play It represented semantic tags for most of sections of web page, like header that you should use It for top of your web page and put your navigation within It.
11th Oct 2018, 7:25 AM
Hassan Saed
Hassan Saed - avatar