Why is heading 7 is bigger than heading 6?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is heading 7 is bigger than heading 6??

Pls ans

6th May 2017, 7:11 AM
Rahul sinha
Rahul sinha - avatar
7 Answers
+ 3
The HTML spec defines 6 headings. Browsers recognize 6 headings. If you start usingย <h7>ย and so on, then you'll be using an invalid element. If you find yourself needing anย <h7>ย then you should probably take a look at how you're structuring your site. Not every single title deserves a heading element
6th May 2017, 7:21 AM
Jackson Alappatt
Jackson Alappatt - avatar
+ 2
that is because h7 doesnt exist so it would the text inside would be equivalent to as if you didnt have surrounding tags at all
6th May 2017, 7:20 AM
kekz
+ 2
Ohh well thanq
6th May 2017, 7:22 AM
Rahul sinha
Rahul sinha - avatar
+ 1
in html h1 gives the biggest heading and decreases downward
6th May 2017, 7:18 AM
Jackson Alappatt
Jackson Alappatt - avatar
+ 1
But what about h7? I have tried once but h7 is not smaller than h6.
6th May 2017, 7:19 AM
Rahul sinha
Rahul sinha - avatar
+ 1
anytime
6th May 2017, 7:23 AM
Jackson Alappatt
Jackson Alappatt - avatar
+ 1
There is not heading 7 in html. Heading are only through <h1> to <h6>
6th May 2017, 9:19 AM
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender)
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender) - avatar