--- title: "Semantic HTML" description: "How ASW styles plain HTML elements without class names — typography, links, tables, forms, and interactive elements." type: docs weight: 70 date: 2026-04-09 tags: ["semantic-html", "css", "reference"] ai-disclosure: "generated" ai-model: "claude-sonnet-4-5" ai-provider: "Anthropic" --- ASW's `02-semantic.css` layer styles native HTML elements directly. Write valid semantic HTML; it looks right without adding any attributes or classes. --- ## Typography ### Headings All six heading levels are styled with distinct sizes, weights, and colours drawn from ASW tokens. ```html

Page Title

Section Heading

Subsection

Group Header

LABEL
MICRO LABEL
``` `h5` and `h6` receive `text-transform: uppercase` and `letter-spacing` to serve as section labels rather than structural headings. Headings following content elements get extra top margin (`--type-space-top`) automatically. ### Body text `

`, `

    `, `