h tag html code example

Example 1: h1 tag html

<h1>This is a Heading level 1 created using h1 tag</h1>
<h2>This is a Heading level 2 created using h2 tag</h2>
<h3>This is a Heading level 3 created using h3 tag</h3>
<h4>This is a Heading level 4 created using h4 tag</h4>
<h5>This is a Heading level 5 created using h5 tag</h5>
<h6>This is a Heading level 6 created using h6 tag</h6>

Example 2: how to do h1 tag

<h1> Sample Text </h1>

Example 3: h1 tag html

<h1> heading 1</h1>

Example 4: how to write h1 tag in html

<h1>This is an h1(Heading 1) tag </h1>

Example 5: how to write h1 tag in html

<h1>This is an h1(Heading 1) tag <h1>

Tags:

Css Example