3 ms·
It's not the tags themselves that are "semantic" but how they are used. The semantic web is a content-first approach, as opposed to using tags to design the st
by hnal943 13y ago
It's not the tags themselves that are "semantic" but how they are used. The semantic web is a content-first approach, as opposed to using tags to design the structure of your page. If you're adding div's to create a specific layout, you're doing it wrong.
That said, I think that CSS is inadequate for the task of controlling the layout of elements so there are very few truly "semantic" layouts.
It's the same problem as deciding whether an API is RESTful enough or not. Eventually, pragmatism wins over dogma. Still, I think (like REST) the semantic web is a good ideal to shoot for.