Build Your First Website · Lesson 2 of 4
HTML: labels that build a page
HTML is a set of short labels. They tell the browser “this is a heading,” “this is a paragraph,” “this is a picture,” or “this is a link.”
Big idea
Think of HTML labels as nametags. The words stay the same, but the label says what kind of part it is so the browser can build the page in the right order.
A few useful labels
HTML labels sit in angle brackets, like a little badge around a name. Many labels come in pairs: one to start a part, and one to end it (the ending one has a slash).
<h1>Bright Pond</h1>
<p>A quiet little pond.</p>
<a href="https://brightpond.example">See the trail</a>
- h1 is a main heading — usually the big title.
- p is a paragraph of words.
- a is a link. It needs a destination, written as a pretend address like brightpond.example.
- img is a picture. It also needs a short description of what the picture shows, so the meaning is there even if the image cannot load.
You do not have to memorize every label. Start with these four, and you can already describe a tiny page.
Put the right label on each part
Tap a label, then tap the matching part of the pretend Bright Pond page. Nothing is saved or sent.
0 of 4 parts labeled
Tap a label, then tap the part it belongs to.
Quick check
1. What is HTML?
2. Which label is usually used for the big title?
3. Why do many HTML labels come in pairs?
Talk about it with a grown-up
- Can we look at a favorite page and guess which parts would get a heading, paragraph, picture, or link label?
- If a picture cannot load, why is a short description still useful?
- What would the heading be if we made a pretend page about Maple Trail?