4 ms·
Right. The point is not that HTML shouldn't be "semantic". The point is that HTML5 semantic tags aren't suited for this purpose (tags like: article, section, fi
by andqok 9y ago
Right. The point is not that HTML shouldn't be "semantic". The point is that HTML5 semantic tags aren't suited for this purpose (tags like: article, section, figure, figcaption, details, summary, even header). Instead use ARIA attributes, microformats.
For those who want to read more why the issue about semantic HTML5 tags looks controversial: https://www.webdesignerdepot.com/2013/01/the-harsh-truth-about-html5s-structural-semantics-part-1/ https://www.webdesignerdepot.com/2013/01/the-harsh-truth-abo...
"A classic example is ‘header’, which most of us would use for the area at the top of the page, but the HTML5 spec, suggests you can use it for the header of every comment on a page. Really. Just because classes in the research and elements in HTML5 have the same name does not mean their uses are the same."