foundation
HTML
Semantic document structure, forms, media, SEO metadata, and native accessibility foundations.
HTML is the first contract between the product, the browser, assistive technology, crawlers, and automation. Strong interview answers treat markup as behavior: a button submits, a label names a control, a heading creates structure, and metadata tells platforms how to present the page.
Child sections cover semantic structure, forms, media, SEO metadata, and accessibility foundations. CSS and JavaScript should enhance that contract rather than replace it.
On interviews: explain why semantic markup matters before frameworks and styling — name one failure when developers treat HTML as a div soup.
Common pitfalls: div-only layouts, missing document metadata, and rebuilding native behavior in JavaScript.
Checklist:
- Treat HTML as behavior, not decoration.
- Cover semantics, forms, media, SEO, and a11y in depth via child topics.
- Prefer native elements before ARIA and custom widgets.