HTML Foundations
Start here if HTML is your first step into web development. Free, no sign-up required.
What is HTML?
Learn what HTML is, how browsers render it, and see your first 'View Source' demo.
How the web works
Understand the request/response cycle, servers, browsers, and what actually gets rendered on a page.
Your first HTML page
Build your first HTML page with doctype, html, head, and body — with a runnable example.
Headings and paragraphs
Use h1–h6 and p to structure text with a clear semantic hierarchy.
Links and images
Add hyperlinks with a href and display pictures with img — relative vs absolute paths explained.
Lists in HTML
Learn when to use ul, ol, and li — plus how to nest lists cleanly.
Semantic layout elements
Learn how to structure pages with semantic elements like nav, main, article, section, and footer.
Comments and whitespace
Use HTML comments to leave notes and understand how browsers collapse whitespace.
Inspecting HTML in DevTools
Open the Elements panel, inspect any webpage, and edit HTML live in your browser.
10 HTML mistakes beginners make
Avoid unclosed tags, wrong nesting, missing alt text, and the other common HTML pitfalls.
HTML vs CSS vs JavaScript
Understand the three pillars of the web and when each language does its job.
Why HTML still matters in 2026
Jobs, accessibility, and AI-era relevance — why HTML is still worth learning today.