HTML <header> Tag
In this tutorial, we will learn about header tag in HTML with the help of examples.
<header> Tag
Header tag <header> is used to represent a container to represents header for the HTML document.
Syntax
<header>.......</header>
Example
<!DOCTYPE html>
<html>
<head>
<title>Header Tag</title>
</head>
<body>
<header>This is header tag.</header>
</body>
</html>
Output
This is header tag.
Global Attribute
Header Tag support all the global attributes of HTML.
Event Attribute
Header Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of header tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML hr
Tag.