HTML — The Skeleton

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.

Browsers only understand three languages

Every website — landing page, blog, checkout — is built from just HTML, CSS, and JavaScript. Today we focus on HTML only.

🦴
HTML

Structure

Headings, paragraphs, links — the outline

🎨
CSS

Style

Colors, fonts, spacing — the look

⚡
JavaScript

Behavior

Buttons, forms, animations — the action

Today → HTML only

Think: blueprint · paint · electricity

0 / 3

HTML is the skeleton — not the skin

A page without CSS still works — you can read it. HTML answers: what goes where, not how pretty it looks.

HTML only
Summer Sale
Save 30% this weekend.
• Free shipping
• Ends Sunday

Readable · no colors yet

HTML + CSS + JS
Summer Sale

Save 30% this weekend.

Shop now
  • Free shipping
  • Ends Sunday

Same bones · styled later

Wireframe → Final web page
0 / 3

Every page has the same outer shell

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.

<html> The whole page
<head> Behind the scenes — tab title, settings
<body> What visitors see — your content lives here
Click Next to highlight each layer

95% of your work happens inside <body>

0 / 3

Google Docs formats map to HTML tags

You don’t need to memorize 100 tags. Start with the formats you already use when writing in Google Docs.

Google Docs Title
→
HTML <h1>…</h1>
Google Docs Heading 2
→
HTML <h2>…</h2>
Google Docs Normal text
→
HTML <p>…</p>
Google Docs Bullet list
→
HTML <ul><li>…</li></ul>
Google Docs Insert link
→
HTML <a href="…">…</a>

Tags wrap content — opening tag, words, closing tag

0 / 5

A landing page skeleton — labeled zones

Real pages are just blocks inside blocks. Here’s a typical simple page — only six tags, no design fluff.

1 <h1>Summer Sale</h1>
2 <p>Save 30% this weekend.</p>
3 <a href="/shop">Shop now</a>
4 <h2>Why shop with us</h2>
5 <ul>
6 <li>Free shipping</li>
7 <li>Ends Sunday</li>
8 </ul>
h1 · main headline

Summer Sale

p · paragraph

Save 30% this weekend.

a · link / CTA Shop now
h2 · section title

Why shop with us

ul + li · bullet list
  • Free shipping
  • Ends Sunday
0 / 5

Tags are labels — open, content, close

Every HTML element follows the same pattern. Once you see it, reading code feels like reading an outline.

Opening tag <p>
Your copy Save 30% this weekend.
Closing tag </p>
<p>Save 30% this weekend.</p>
0 / 3

Paste this skeleton into VS Code

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.

Google Docs → HTML (save this)

You write in Docs HTML tag Job
Title <h1> Main headline
Heading 2 <h2> Section title
Normal text <p> Paragraph
Bulleted list <ul> <li> List + item
Insert link <a href> Clickable link

What you can skip for now

🎨
CSS is next

Colors, fonts, and layout live in a separate file (style.css). HTML just holds the words and order.

🤖
AI writes HTML too

When you ask for a web page, the model outputs these same tags. Reading skeleton HTML helps you understand what it built.

📐
You don’t need every tag

Tables, forms, videos — hundreds exist. For starters, six tags cover most of what you’ll recognize.

🔍
Inspect any page

Right-click a website → Inspect. You’ll see the same <h1> and <p> patterns under the design.

HTML = the architecture of the page

🦴
Step 1–2 · Role
Structure, not style
→
📄
Step 3–4 · Shell + map
body + familiar tags
→
🏗️
Steps 5–7 · Build
Landing skeleton + Try It

You’re learning to read the blueprint behind every web page — so HTML from tutorials, tools, and AI starts to make sense.

Quick quiz

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…