Samharid
asked

Expert
Abhay Jajodia answered
Hi samharid,
Because headings like to are meant to show the structure of the page, not just styling. They tell the browser and screen readers what the main topics are.
If you use headings only to make text look big, the page structure becomes confusing. A better way is to keep normal text and make it bold or bigger using CSS.
Example:
This is normal text, just styled.
.big {
font-size: 24px;
font-weight: bold;
}
If you have more questions, I am here to help π
HTML
This question was asked as part of the Learn HTML course.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
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
