How web pages are structured, using formats you already know from Google Docs
Built your first file in
Episode 13?
This lesson explains what’s inside index.html.
Every website — landing page, blog, checkout — is built from just HTML, CSS, and JavaScript. Today we focus on HTML only.
Structure
Headings, paragraphs, links — the outline
Style
Colors, fonts, spacing — the look
Behavior
Buttons, forms, animations — the action
Think: blueprint · paint · electricity
A page without CSS still works — you can read it. HTML answers: what goes where, not how pretty it looks.
Save 30% this weekend.
Shop nowSame bones · styled later
Before headings and copy, HTML wraps everything in three layers — like a Google Doc has a document title (hidden setup) and a body you actually read.
95% of your work happens inside <body>
You don’t need to memorize 100 tags. Start with the formats you already use when writing in Google Docs.
<h1>…</h1>
<h2>…</h2>
<p>…</p>
<ul><li>…</li></ul>
<a href="…">…</a>
Tags wrap content — opening tag, words, closing tag
Real pages are just blocks inside blocks. Here’s a typical simple page — only six tags, no design fluff.
Save 30% this weekend.
Create a folder on your computer, open it in VS Code, add a new file
called index.html, paste the block below → save → open in
your browser.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Summer Sale</title>
</head>
<body>
<h1>Summer Sale</h1>
<p>Save 30% this weekend.</p>
<a href="https://example.com/shop">Shop now</a>
<h2>Why shop with us</h2>
<ul>
<li>Free shipping</li>
<li>Ends Sunday</li>
</ul>
</body>
</html>
It will look plain — that’s correct. HTML is structure; CSS comes later.
<h1>
Main headline
<h2>
Section title
<p>
Paragraph
<ul> <li>
List + item
<a href>
Clickable link
Colors, fonts, and layout live in a separate file
(style.css). HTML just holds the words and order.
When you ask for a web page, the model outputs these same tags. Reading skeleton HTML helps you understand what it built.
Tables, forms, videos — hundreds exist. For starters, six tags cover most of what you’ll recognize.
Right-click a website → Inspect. You’ll see the same
<h1> and <p> patterns under
the design.
You’re learning to read the blueprint behind every web page — so HTML from tutorials, tools, and AI starts to make sense.
1. Which language gives a page its structure?
2. Where does the content visitors see live?
3. A main headline in Google Docs maps to…
4. A “Shop now” button is usually written as…