In this tutorial, we will learn about HTML Headings. HTML has 6 heading tags to show headings on the web page. we can use any of them according to our requirement. These tags are from h1 to h6. we use h1 tag to show important headings of the web page and h6 to show least important headings in the web page. You can use h2 to h5 tags to show subheadings on the web page. The only difference among all these tags is text size. The text size of all heading tags is different. H1 have the biggest text size and h6 has the smallest among all these.
<h1> </h1>
<h2> </h2>
<h3> </h3>
<h4> </h4>
<h5> </h5>
<h6> </h6>
Understand this with Example:
<html>
<head></head>
<body>
<h1>This is H1 Tag</h1>
<h2>This is H2 Tag</h2>
<h3>This is H3 Tag</h3>
<h4>This is H4 Tag</h4>
<h5>This is H5 Tag</h5>
<h6>This is H6 Tag</h6>
</body>
</html>
Parvesh Sandila is a results-driven tech professional with 8+ years of experience in web and mobile development, leadership, and emerging technologies.
After completing his Master’s in Computer Applications (MCA), he began his journey as a programming mentor, guiding 100+ students and helping them build strong foundations in coding. In 2019, he founded Owlbuddy.com, a platform dedicated to providing free, high-quality programming tutorials for aspiring developers.
He then transitioned into a full-time programmer, where his hands-on expertise and problem-solving skills led him to grow into a Team Lead and Technical Project Manager, successfully delivering scalable web and mobile solutions. Today, he works with advanced technologies such as AI systems, RAG architectures, and modern digital solutions, while also collaborating through a strategic partnership with Technobae (UK) to build next-generation products.
