SELVARATHINAM
3 months ago
Selvarathinamcountry asked

Why should we avoid skipping heading levels in HTML, like using <h2> and then jumping directly to <h5>?

Abhay Jajodia
Expert
last month
Abhay Jajodia answered

Hi SELVARATHINAM,

Headings are like a content outline.

is a main section, and

,

,
are smaller sub-sections under it.

If you jump from

to
, it can confuse screen readers and make the page structure harder to understand. It is better to go in order, like

then

for the next level.

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.