How to use h1, h2, h3, h4, h5, h6 tag

<h1> <h2> <h3> <h4>
<h5> <h6>

All Tags not showing in online page, but show on view source.

<h1>Heading 1</h1>
<p>Heading 1 main tag in html for heading.</p>

<h2>Heading 2</h2>
<p>Heading 2 sub heading of heading 1 in html</p>

<h3>Heading 3</h3>
<p>Heading 3 sub heading of heading 2 in html</p>

<h4>Heading 4</h4>
<p>Heading 4 sub heading of heading 3 in html</p>

<h5>Heading 5</h5>
<p>Heading 5 sub heading of heading 4 in html</p>

<h6>Heading 6</h6>
<p>Heading 6 sub heading of heading 5 in html</p>

Code show like this:

Heading 1

Heading 1 main tag in html for heading.

Heading 2

Heading 2 sub heading of heading 1 in html

Heading 3

Heading 3 sub heading of heading 2 in html

Heading 4

Heading 4 sub heading of heading 3 in html

Heading 5

Heading 5 sub heading of heading 4 in html

Heading 6

Heading 6 sub heading of heading 5 in html

Browser Support

The <h> tags is supported in all major browsers.

What is h tags

h tags is used to heading of web page

Leave a Reply

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