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>
Copyright ©2022 coderraj.com. All Rights Reserved.