HTML h2 tag

Last Updated on April 26, 2023 by Roshan Parihar

Learn how to add second-level heading using HTML h2 tag in HTML document. The h2 tag is the second-ranked heading to add in a webpage. You can use this tag to add much content with headings.

Syntax

Example

Output

This is the h2 heading text

Resources and References of HTML h2 tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github