coderef

HTML Quick Reference

HTML for page structure, text, links, images, lists, tables, forms, media and the document head.

7 sections · 43 snippets · updated Oct 14, 2026

Click any snippet to copy it.

Page skeleton

Every page starts here.

  • Basic document
    Try it Yourself »
  • Link a stylesheet
    Try it Yourself »
  • Load a script
    Try it Yourself »
    Try it Yourself »
  • Page description
    Try it Yourself »
  • Favicon
    Try it Yourself »

Structure

Semantic layout elements.

Text

Paragraphs and inline formatting.

Lists & tables

Structured content.

Forms

Collecting input.

Media & interactive

Embeds and built-in widgets.

  • Video
    Try it Yourself »
  • Audio
    Try it Yourself »
  • Embed a page
    Try it Yourself »
  • Expandable section
    Try it Yourself »
  • Dialog
    Try it Yourself »
  • Popover (no JavaScript)
    Try it Yourself »

← All quick references