Why is heading (h1-6) a separate style category in HTML/CSS?

conrorait

New Member
I can't seem to wrap my head around why headings (h1-6) are a concept of their own in HTML/CSS separate from any regular style. It appears to me there is no good reason as it just confuses the user by adding to the available tag universe whereas all that it does can be accomplished by being just another regular style defined as, for example:\[code\].headStyle1{ font-size: 30px; font-weight:bold;}\[/code\]and then, instead of using a separate tag \[code\]<h1></h1>\[/code\], you just do something like:\[code\]<span class="headStyle1">My Heading</span>\[/code\]And you live happier because you have one tag less to have to be dealing with in your working memory, heading are just another style rather than its own category. To me, simplicity is a virtue.Please explain if I am wrong and if there is a reasonable justification for this addition in complexity.
 
Back
Top