HTML Tutorial
<h1>
The <h1>
tag is used to define the most important heading in a document. It is typically used for the main title or heading of a webpage. <h1>
is the largest of the six heading tags (<h1> to <h6>)
.
<h1>
The <h1>
tag has no attributes.
<h1>
<h1>Hello World</h1>
<p>This is the main heading of the page.</p>
Exploring the <h1>
Tag
Example
<!DOCTYPE html>
<html>
<head>
<title><h1> Tag Example</title>
</head>
<body>
<h1>This is the most important heading in this page</h1>
<h2>This is a secondary heading</h2>
<h3>This is a tertiary heading</h3>
</body>
</html>