re: Stop using so many divs! An intro to semantic HTML VIEW POST

FULL DISCUSSION
 

The primary reason I feel in love with these tags (and more in HTML5) is actually because of CSS. The styling becomes SO much easier and cleaner to read, too! Plus doing query selectors from JS as well.

 

Oh man, absolutely!

#main-content .blog-post .blog-section .section-header h1 { /*...*/ }

vs.

main article section header h1 { /*...*/ }
code of conduct - report abuse