HTML5 header Tag

HTML5 header Tag

Use the HTML5 header tag to add header on the web page or document. Header is an area at the top of a web page or document.

Add introductory content, logo, and with that also add heading elements <h1> to <h6> under the <header> tag.

Here, we will see an example to add header to a web page or document,

Example

Here’ the output,

HTML5 Header tag

We have added the sections information under the HTML5 header tag. It includes the top level heading <h1> with “Studyopedia sections” and other information with <h2> heading such as “Programming”, “Databases”, etc.

We also added a title to the web page Understanding  header tag, which would be visible on the page’s tab as well as web browsers tab.

HTML5 footer Tag
HTML5 main Tag
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create free tutorials for all.

No Comments

Post A Comment