10 Jul 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,
<title>Understanding header tag</title>
<h2>Content Management Systems (CMS)</h2>
Here’ the output,
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.