Header
As the name suggests, it is for the header of a section introductory of a page. There can be multiple headers on a page.
<!DOCTYPE html>
<html>
<head>
<title>Header Tag</title>
<style>
h1, h3 {
Color:#006400;
Text-align:left;
margin-bottom:0px;
}
p {
font-size:25px;
text-align:left;
margin-top:0px;
}
</style>
</head>
<body>
<article>
<header>
<h1>w3wiki</h1>
<h3>w3wiki</h3>
<p>A computer Science portal</p>
</header>
</article>
</body>
</html>
Output:
HTML5 Semantics
HTML5 Semantics refers to the use of specific tags like <header>, <footer>, <nav>, <article>, <section>, etc., to provide clearer structure and meaning to web content. This improves accessibility, and SEO, and facilitates better understanding by both humans and machines.
Contact Us