Skip to content

html.sh - Learn HTML

The beginner-friendly HTML reference guide. Learn HTML from scratch with interactive examples.

Whether you’re building your first webpage or need a quick reference, html.sh has you covered.

Learn the Basics

New to HTML? Start with our step-by-step tutorials designed for absolute beginners. Start Learning

Element Reference

Comprehensive documentation for every HTML element with interactive examples. Browse A-Z

Interactive Examples

Edit and run code directly in your browser. See changes instantly. Try It Now

Best Practices

Write accessible, SEO-friendly, semantic HTML that works everywhere. Learn More

100+ Elements

Every HTML element documented with syntax, attributes, and real-world examples.

25+ Global Attributes

Learn about attributes like id, class, and data-* that work on any element.

HTML History

Understand where HTML came from and how it evolved from 1991 to today. Read History

Accessibility Guide

Build inclusive websites that work for everyone with our accessibility guide. Learn Accessibility

  • Beginner-Friendly — Clear explanations without confusing jargon
  • Interactive — Edit and run code examples directly in your browser
  • Comprehensive — Every element and attribute documented in detail
  • Always Current — Updated to reflect the HTML Living Standard
  • Fast — Static site with instant page loads

Looking for something specific?


Made with care for developers learning HTML.