Home >> HTML 5 >> header Tag in HTML 5

header Tag in HTML 5

The <header> tag is used to define the header of page or a section as it contains the information related to the title and heading of the related content.
It usually contains a logo, search, navigational links, etc.

Syntax:
<header>...</header>

For example:-

<!DOCTYPE html>
<html>
<head>
   <title>Header Tag</title>
</head>
<body>
    <header>
       <h2>Coder Raj/h2>
       <p>I am frontend developer.</p>
       <p>You are backend developer.</p>
    </header>
</body>
</html>

Post Your Comment

Next Questions
hr Tag
html Tag
i Tag
iframe Tag
img Tag
input Tag
ins Tag
kbd Tag
label Tag
legend Tag
li Tag
link Tag
ul Tag
video Tag
wbr Tag

Copyright ©2022 coderraj.com. All Rights Reserved.