<h1> <a href> <img> <div>

HTML from A to Z

The world's easiest HTML course — explained so simply a 12-year-old could learn it and teach it. Every tag, every symbol, every trick.

1️⃣ Read the plain words 2️⃣ Peek at the code 3️⃣ See the live preview 4️⃣ Learn the tag dictionary 5️⃣ Copy & try it yourself

🔬 First: anatomy of a tag

Everything in HTML is a tag. Most tags come in pairs — an opening tag and a closing tag (with a /).

opening tag<p>
contentHello!
closing tag</p>
tag name<a
attribute = extra infohref="site.com"
closing tag>…</a>

Some tags are self-closing — like <img>, <br>, <hr> — they need no closing tag.