Selvarathinam
asked

Expert
Abhay Jajodia answered
Hi SELVARATHINAM,
Headings are like a content outline. <h2> is a main section, and <h3>, <h4>, <h5> are smaller sub-sections under it.
If you jump from <h2> to <h5>, it can confuse screen readers and make the page structure harder to understand. It is better to go in order, like <h2> then <h3> 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.
Our Experts
Sanjeev PanditPrincipal Engineer
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Anuj ShresthaTech Lead
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer