Re:Stop using so many divs An intro to semantic HTML
by CM30 on Sunday April 28, 2019 @01:03PM
(#19772223)
Nice article, especially how it explains just how you can use said semantic elements for more readable source code.
And yeah, there's no reason not to use semantic HTML now, or to create sites/apps infected with divitis. Things like article, aside, footer, header, nav, section, etc have been supported in almost all browsers for years now, and main has pretty much unanimous support too. Unless you're designing for IE 8 (in which case your app probably won't work anyway), there's no reason to use so many divs.
And yeah, there's no reason not to use semantic HTML now, or to create sites/apps infected with divitis. Things like article, aside, footer, header, nav, section, etc have been supported in almost all browsers for years now, and main has pretty much unanimous support too. Unless you're designing for IE 8 (in which case your app probably won't work anyway), there's no reason to use so many divs.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em