Heading tags of HTML

Heading Tags

HTML has six heading tags, <h1> to <h6>. <h1> is the most important tag. It is displayed in large and bold font. <h6> is the least important and is displayed in small size font.

Example

Below is a sample of HTML code for a web page that shows the six headings on the web browser.

H1 is a tag that stands for heading 1. Writing in this tag will show in this format.

H2 is a tag that stands for heading 2. Writing in this tag will show in this format.

H3 is a tag that stands for heading 3. Writing in this tag will show in this format.

H4 is a tag that stands for heading 4. Writing in this tag will show in this format.

H5 is a tag that stands for heading 5. Writing in this tag will show in this format.
H6 is a tag that stands for heading 6. Writing in this tag will show in this format.

<h1> is a tag that stands for header 1. Writing in this tag will show in this format.

<h2> is a tag that stands for header 2. Writing in this tag will show in this format.

<h3> is a tag that stands for header 3. Writing in this tag will show in this format.

<h4> is a tag that stands for header 4. Writing in this tag will show in this format.

<h5> is a tag that stands for header 5. Writing in this tag will show in this format for header 5. Writing in this tag will show in this format.
H6 is a tag that stands for header 6. Writing in this tag will show in this format.

1 Comment on Heading tags of HTML

  1. It’s really a cool and useful piece of info. I’m glad that you just shared this helpful info with us. Please stay us informed like this. Thanks for sharing.

Leave a comment