LESSON 1 OF 6 · 25 MINUTES
Give a web page a meaningful outline
STEP 1 OF 6
Your objective
Turn five supplied lines into one page heading, two section headings and two paragraphs, then explain the structure without relying on font size.
STEP 2 OF 6
The idea
HTML marks what text means. In this activity, <h1> identifies the page's main heading, <h2> starts a section under it, and <p> holds an ordinary paragraph. Write a matching closing tag, such as </p>, after each piece of text.
Choose the heading level for its place in the outline, not because you want bigger letters. A visually bold paragraph is still a paragraph; styling does not turn it into a heading.
Meaningful headings help readers scan a page and can help assistive technology navigate it. Correct headings alone do not make an entire website accessible; this lesson covers only a small part of page structure.
No coding software is required. You can write the markup on paper or in your own plain-text notes. This first exercise uses HTML fragments, not a complete document. Later lessons build a local page.
A complete HTML file also needs document structure. Start with <!doctype html>, an html element with lang="en", a head containing <meta charset="utf-8">, a meaningful title and viewport metadata, and a body containing the visible page. Put navigation in nav and the page’s main content in main. A header introduces the page; footer contains closing information. These elements express roles, not a mandatory visual layout.
Create a folder named sketch-practice and a plain-text file named index.html. Check that your editor does not silently append .txt or insert rich-text formatting. Save it, then open it in a browser; after each change, save and reload. A local file can teach structure without hosting or an account. In later lessons you will add an image, styles and a clearly labelled local practice form. The browser shows the page; the editor remains where you change its source.
STEP 3 OF 6
The same announcement, with and without an outline
Starting point
<p>Neighbourhood Sketch Club</p> <p>What to bring</p> <p>Bring paper and a pencil.</p>
A checkable approach
<h1>Neighbourhood Sketch Club</h1> <h2>What to bring</h2> <p>Bring paper and a pencil.</p>
The words did not change. The first version labels every line as a paragraph; the second identifies the announcement title and its first section. A reader inspecting the heading outline can now find the section without using visual size as the only clue.
STEP 4 OF 6
Try it yourself
Build an HTML fragment from these five lines, keeping their order and wording: Community Drawing Afternoon / Materials / Bring plain paper. / Arrival / Meet inside the main entrance. Use one h1, two h2 elements and two p elements. Then choose the explanation below that fits your result. This is a fictional notice, not a real event invitation.
Fictional exercise · prewritten feedback, no live AI grading.
Write your answer on paper or in your own notes, then compare the options and worked answer.
Practice options
A. Make every line h1 so each line is equally noticeable.
That removes the distinction between the overall title, section labels and ordinary information. For this exercise, use the page title once as h1, section labels as h2, and details as paragraphs.
B. Use h1 for the overall title, h2 for Materials and Arrival, and p for their details.
Yes. This follows the supplied outline rather than using headings merely to enlarge text. Check that each opening tag has the intended matching closing tag.
C. Use only paragraphs; bold text always gives screen readers the same heading outline.
Bold appearance does not supply heading semantics. Paragraph-only markup may show the words, but it does not communicate this heading hierarchy.
STEP 5 OF 6
Worked answer & self-check
<h1>Community Drawing Afternoon</h1> <h2>Materials</h2> <p>Bring plain paper.</p> <h2>Arrival</h2> <p>Meet inside the main entrance.</p> The outline has one overall title and two sibling sections. Each instruction is ordinary paragraph text under its section. Option B describes it. These are sensible choices for this simple fragment, not a claim that every possible web page has only this structure.
Compare your answer
- The five supplied lines remain in the original order, with no invented event details.
- There is one main heading and two sibling section headings.
- The two instructions are paragraphs, not headings.
- Opening and closing tags match, and the explanation refers to meaning rather than visual size.
Give yourself one check for each point your work meets. Revise any missing piece. This is a self-check, not a score sent to a teacher.
STEP 6 OF 6
Recap & next step
- Structure describes the role of text; appearance is a different concern.
- In this page outline, h1 names the page and h2 names its sections.
- Check the outline and the paragraph roles before choosing visual styling.
Next: add meaningful links and images while keeping this outline and the saved first-lesson review mark.