h1 to h6 HTML Section Heading Elements

For Complete YouTube Video: Click Here

We will try to understand h1 to h6 HTML Section Heading Elements in this class.

We have already discussed Basic HTML File Structure concepts in our previous class.

h1 to h6 HTML Section Heading Elements

The <h1> to <h6> HTML Elements represent the six levels of section headings.

<h1> is the highest section level and <h6> is the lowest.

The h1 has the largest font size compared to other headings.

The image below shows all the heading tags from h1 to h6 elements.

h1 to h6 HTML Section Heading Elements 1
h1 to h6 HTML Section Heading

The output of the above code is as shown below.

h1 to h6 HTML Section Heading Elements 2
h1 to h6 HTML Section Heading

For better understanding watch the video link provided above.