Program:
Output:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Header Element</title>
<style>
body{
font-family: Arial, sans-serif;
}
</style>
</head>
<body>
<!-- HTML Header Element -->
<header>
<h1>the header tag in HTML is used to define the header for a document or a section.</h1>
<h4>The header tag contains information related to the title and heading of the related content.</h4>
<p>The header element is intended to usually contain the section’s heading (an h1-h6 element or an hgroup element), but this is not required.</p>
</header>
</body>
</html>
Output:
