HTML Tutorial
<header>:<header>:None
<header>:<header><h1>My Awesome Website</h1></header><section><header><h2>Section Title</h2></header>...</section>Exploring the <header> Tag:
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<header>
<h1>My Page Title</h1>
<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>
</header>
<main>
<!-- Main content of the page -->
</main>
<footer>
<!-- Page footer -->
</footer>
</body>
</html>
In this example:
<header> tag defines the header of the page.<h1> and a navigation menu <nav>.<main> tag contains the main content of the page.<footer> tag contains the page footer.