How to Use HTML Heading tags?

to tags mark the headings for HTML document. marks the largest headings size and creates smallest headings.

H1 headings should be used as main headings.

<!DOCTYPE HTML>
<html>
<body>
<h1>Heading 1
<h2>Heading 2
<h3>Heading 3
<h4>Heading 3
<h5>Heading 3
<h6>Heading 3