DEV Community

Discussion on: Stop using so many divs! An intro to semantic HTML

Collapse
 
kenbellows profile image
Ken Bellows

Hah you'd think so, but there's still new web devs every day, and tragically most HTML tutorials still don't focus much on semantic elements! And even besides new devs, lots of devs who have been around for a decade still aren't that familiar, which I think is largely for 2 reasons:

  1. Frameworks like Bootstrap and Foundation emphasize <div>s with classes a lot more than tags.
  2. Component frameworks based on custom tags with their own templates has moved many developers' focus away from the tags provided by the language, and has narrowed focus onto small component templates instead of looking at the semantic structure of the whole page.

Probably not the whole story, but I think those have contributed a lot to it