← All Lessons
YOUR PROGRESS THROUGH THIS LESSON
Lesson 02 · Web Foundations Series

What is HTML, actually?

Every webpage you've ever visited is built on this one thing. Ten minutes from now, "view source" stops being scary.

No coding required. Use the arrows, your keyboard, or swipe to move through.

The Core Idea

The structure underneath every page

HTML (HyperText Markup Language) is the structure of a webpage. It tells the browser "this is a heading, this is a paragraph, this is a picture, this is a button."

If a webpage were a house, HTML is the framing — the walls, the rooms, the doorways. Nothing pretty yet, just "here's what goes where."

HeadingsParagraphsImages & Links
Common Myth

HTML isn't code the way you think

"I could never learn to code" — HTML isn't really coding, and that's the point. It has no logic, no math, no decision-making. It's a labeling system, closer to formatting a document than writing a program.

If you've ever used headers and bullet points in a Word doc, you already have the right instinct for HTML.

Building Blocks — Try It

Tags: labeled bins for content

Click a tag below to see the code and what it actually produces. Tags don't create content — they tell the browser what the content is, so it knows how to display it.

Code → Result
Quick Check

What does an HTML tag actually do?

The Big "Aha" — Try It

Structure vs. style

HTML on its own gives you structure with zero design. The visual design comes from a separate layer (CSS) added on top. Flip the switch and watch the exact same HTML go from naked to dressed.

CSS: On

Grandma's Chocolate Chip Cookies

A simple recipe passed down through the family — crisp edges, soft centers, no fuss.

View Full Recipe
Quick Check

Why did the page look "plain" with CSS off?

Coming Next In The Series

Next up: making it look good

Now that you know the skeleton, next we put clothes on it. The next lesson covers CSS — the layer that turns plain structure into an actual designed page: colors, fonts, spacing, layout.

If HTML is the framing of a house, CSS is the paint, furniture, and lighting.

You Made It

Now make it official

You've got the concepts. The free Codecademy course below takes you through real HTML, hands-on, at your own pace. Go build something — it'll feel familiar now.