2. Headings:
<h1>
is the main heading, usually representing the primary topic of the page.<h2>
to <h6>
are subheadings of decreasing importance.
<!DOCTYPE html>
<html>
<head>
<title>Heading Title</title>
</head>
<body>
<h1>This is a Heading 1</h1>
<p>Primary heading, typically used for the main title of the page.</p>
<h2>This is a Heading 2</h2>
<p>Subheading, used to further structure content under an h1.</p>
<h3>This is a Heading 3</h3>
<p>Subheading, provides additional hierarchy and structure.</p>
<h4>This is a Heading 4</h4>
<p>Subheading, often used for subsections or categories.</p>
<h5>This is a Heading 5</h5>
<p>Subheading, used for smaller sections within a page.</p>
<h6>This is a Heading 6</h6>
<p>Subheading, the smallest level of heading, used for minor sections.</p>
</body>
</html>