h2

Support

Specifies document heading.

There are predefined heading elements that allow document styling in HTML pages similar to Microsoft Office Word or other word processing software, H1 is the main heading and H6 is the deepest sub-heading element.

Example

<h1>Major Heading</h1>
<h2>Second Heading</h2>
<h3>Third Heading</h3>
<h4>Fourth Heading</h4>
<h5>Fifth Heading</h5>
<h6>Smallest Heading</h6>

Preview

Major Heading

Second Heading

Third Heading

Fourth Heading

Fifth Heading
Smallest Heading