h1 tag in 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: html heading elements

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width initial-scale=1.0"
          </head>
	<title>
		HTML Heading Elements 
	</title>
  <body>
<h1>This is a h1 element</h1>
<h2>This is a h2 element</h2>
<h3>This is a h3 element</h3>
<h4>This is a h4 element</h4>
<h5>This is a h5 element</h5>
<h6>This is a h6 element</h6>
  </body>
</html>

<!--(h stands for heading)-->

<!--For Output, go to this website:-->
<!--https://html-headings.swanith.repl.co/-->

<!--Note: You should never use headings for making text BIG or bold.-->

Example 6: how tomake a h1 tag

<h1>Hello World</>

Tags:

Css Example