HTML Heading <h1>, <h2>, <h3>, <h4>, <h5> and <h6> element
HTML Heading <h1>, <h2>, <h3>, <h4>, <h5> and <h6> :
The Html Heading <h1>, <h2>, <h3>, <h4>, <h5> and <h6> element is used to define headings in an HTML document where in <h1> defines the largest heading and <h6> defines the smallest heading.
Example :
<h1>This is heading h1 element.</h1> <h2>This is heading h2 element.</h2> <h3>This is heading h3 element.</h3> <h4>This is heading h4 element.</h4> <h5>This is heading h5 element.</h5> <h6>This is heading h6 element.</h6>
Output:
This is heading h1 element.
This is heading h2 element.
This is heading h3 element.
This is heading h4 element.
This is heading h5 element.
This is heading h6 element.