3 ms·
Problem is, with modern websites, everything is a div and you can't necessarily infer semantic meaning from the DOM elements.
by DevX101 2y ago
Problem is, with modern websites, everything is a div and you can't necessarily infer semantic meaning from the DOM elements.
- leroman 2y agoAfter removing the noise you can distill the semantic stuff where ever possible, like meta-deta from images, buttons, etc, and see some structures emerge like footers and nav and body.. And many times for the sake of SEO and accessibility, websites do adopt quite a bit of semantic HTML elements and annotations in respective tags..
- goatlover 2y agoWhat happened to using the semantic elements? Did that fall out of favor or the push for it get abandoned because popular frameworks just generate divs with semantic classes (hopefully)?