HTML h2 tag

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

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.