HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML Headings

HTML Headings

 

 

As we know headings are primarily used for defining content outlines. It also classifies the document and helps the user understand more about it.

 

Heading Levels

 

  • < h1 >
  • < h2 >
  • < h3 >
  • < h4 >
  • < h5 >
  • < h6 >

 

Explanation:-

 

  • h1 is defined as the most important heading. Google also considers it essential and it is therefore a factor in SEO (Search Engine Optimization). It has the largest font size.
  • h2 is the second most important heading. It is basically used for improving the overall structure of the webpage. It has the second-largest font size.
  • h3 is the third most important heading and it helps in improving the overall structure of the webpage. It has the third-largest font size.
  • h4 is the fourth most important heading and it helps in improving the overall structure of the webpage. It has the fourth-largest font size.
  • h5 is the fifth most important heading and it helps in improving the overall structure of the webpage. It has the fifth-largest font size.
  • h6 is the sixth most important heading and it helps in improving the overall structure of the webpage. It has the smallest font size as compared to the rest of the headings.

Code Explanation

All Tutorials related to HTML Basics

All Sections related to HTML