Key Ideas
1What "Semantic" Means. A semantic element clearly describes its meaning to both the browser and the developer. <nav> means navigation. <article> means a self-contained piece of c...
2The Semantic Element Landscape. HTML5 introduced a set of elements that map directly to common page regions and content types:
3A Typical Page Layout. Here's how semantic elements typically map to the regions of a real web page:
4When to Use div and span. <div> and <span> are still needed — but only when no semantic element fits. Use them as styling hooks and layout containers when there is no meaningful ele...