h1 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: h1
<h1>Message Here</h1>
<h1 style="color: red"> Message Here</h1>
Example 3: how to do h1 tag
<h1> Sample Text </h1>
Example 4: h1 tag html
<h1> heading 1</h1>
Example 5: how tomake a h1 tag
<h1>Hello World</>