Skip to content

HTML

References, guides, and validators for writing modern, semantic HTML. Part of the Frontend Roadmap. See also Accessibility for WCAG and screen readers, and Performance for image formats and loading budgets.

Learn

  • MDN Structuring Content — MDN’s HTML learning path, from first element to forms and multimedia. [beginner]
  • Learn HTML #1 — Course covering the whole language, one module per topic.
  • Responsive Web Design — Interactive HTML and CSS certification from freeCodeCamp. [beginner]
  • HTML Dog — Beginner, intermediate, and advanced HTML guides.
  • Interneting Is Hard — Friendly HTML and CSS tutorial for absolute beginners. [beginner]
  • MarkSheet — Free HTML and CSS tutorials.

Reference

Language reference

Semantics

  • MDN Semantics — What “semantic” means in markup, and why it matters.
  • Semantic HTML — Picking the element that describes the content.
  • Heading Elements — Levels h1 to h6, document outline, and heading order.
  • Page Structure — W3C tutorial on landmarks, regions, and labelling them.
  • Article vs Section — When to reach for article, section, or a plain div.
  • HTMHell — Bad markup found in the wild, with the fix explained.

Forms

Modern elements

Metadata and SEO

  • HTML Head — Checklist of everything that can go in the head.
  • Metadata — Head elements, social cards, and theme colour.
  • Open Graph Protocol — Spec for the og: tags behind link previews.
  • Schema.org — Shared vocabulary for structured data.
  • Structured Data — How Google reads schema markup for rich results.

Practice

Tools

Deep dives