<H1> to <H6> Heading tags

Heading tags :

<h1> to <h6>:

H1 to H6 are heading tags, which are used to define different heading levels. These six tags can be used to define document heading.

<h1> defines highest heading level and displays text in the bigger font as compared to other heading tags. Similarly, <h6> defines the lowest heading level which displays text in a smaller font size as compared to the rest of the heading tags.

<title>My Heading Program</title>
<body bgcolor="blue" text="yellow">
<h1> Heading 1 </h1>
<h2> Heading 2 </h2>
<h3> Heading 3 </h3>
<h4> Heading 4 </h4>
<h5> Heading 5 </h5>
<h6> Heading 6 </h6>

Attributes for <h1> to <h6>:

align:Sets align of the heading.left, right, center, justify