Html heading tags

Html heading tags

Definition Headings and Use <h1> to <h6>

Any documents starts with a heading part. You can use different sizes for headings. HTML also have six levels of headings, which use the elements <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.HTML heading tag is used for specifying heading level. There are 6 levels of headings such as <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. here <h1> have largest and <h6> have smallest size.Example : HTML Headings Tags.

<html> 
<head>
<title> Html Headings Tags Examples </title>
</head> 
<body>
<h1> Heading h1 </h1>
<h2> Heading h2 </h2>
<h3> Heading h3 </h3>
<h4> Heading h4 </h4>
<h5> Heading h5 </h5>
<h6> Heading h6 </h6>
</body>
</html>

Output :

Heading h1

Heading h2

Heading h3

Heading h4

Heading h5
Heading h6
About Author

My name is Mukesh Jakhar and I am a Web Application Developer and Software Developer, currently living in Jaipur, India. I have a Master of Computer Application in Computer Science from JNU Jaipur University. I loves to write on technology and programming topics. Apart from this, I love to travel and enjoy the beauty of nature.

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.