CHAPTER 40 · HTML
Guided project: build and review a student-club page
Combine headings, links, lists, dates and semantic regions. Test structure and keyboard navigation before adding decoration.
Download example files (ZIP)The project brief
Step 1: write content before tags
Step 2: make a page plan
Step 3: connect links and destinations
Step 4: choose heading levels and order
Step 5: dates and honest claims
Step 6: review like a reader
Follow the idea
- 1Plan the reader’s task
- 2Build readable regions and headings
- 3Connect links to unique ids
- 4Test reading order and keyboard navigation
A clear page works before decoration is added.
Complete program: club-page-plan.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Student Club Page Plan</title>
</head>
<body>
<h1>Notebook Practice Club</h1>
<header><p>A fictional club page for HTML practice.</p></header>
<nav aria-label="Page sections">
<a href="#about">About</a> | <a href="#session">Session</a>
</nav>
<main id="main-content" tabindex="-1">
<section id="about">
<h2>About the club</h2>
<p>We explain one short example to a partner.</p>
</section>
<section id="session">
<h2>Next practice session</h2>
<p>Bring a notebook and a question about links.</p>
</section>
</main>
<footer><p>This is a page plan, not a live club service.</p></footer>
</body>
</html>This preview shows the example in a browser. Save the complete code in local files to test links between pages and downloads. Same-page section links work here.
Complete program: student-club.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Student Club HTML Project</title>
</head>
<body>
<h1>Notebook Practice Club</h1>
<p><a href="#main-content">Skip to main content</a></p>
<header><p>A fictional student club for practising HTML.</p></header>
<nav aria-label="Page sections">
<ul>
<li><a href="#about">About</a></li>
<li><a href="#session">Next session</a></li>
<li><a href="#news">Club notice</a></li>
</ul>
</nav>
<main id="main-content" tabindex="-1">
<section id="about">
<h2>About the club</h2>
<p>Bring one example. Explain it to a partner, then compare what you both understood.</p>
</section>
<section id="session">
<h2>Next practice session</h2>
<p>
Our imaginary session is on <time datetime="2027-02-09">9 February 2027</time> at
<time datetime="16:30">4:30 pm</time>, India time.
</p>
<p>Meet in Room B-204. No booking is required for this fictional example.</p>
<h3>Bring these items</h3>
<ul>
<li>A notebook</li>
<li>A saved HTML page</li>
<li>One question about links</li>
</ul>
</section>
<article id="news">
<header>
<h2>New practice task</h2>
<p>Posted <time datetime="2027-02-08">8 February 2027</time></p>
</header>
<p>Prepare a page with two section links and test both destinations.</p>
<footer><p>Written by the practice desk.</p></footer>
</article>
<aside>
<h2>Helpful reminder</h2>
<p>Keep a copy before changing an example so you can compare your work.</p>
</aside>
</main>
<footer><p>Created for HTML learning. This page does not register members.</p></footer>
</body>
</html>This preview shows the example in a browser. Save the complete code in local files to test links between pages and downloads. Same-page section links work here.
Problem and solution
Common mistakes and useful tips
Do not leave href=# as a finished destination. Do not choose headings for text size alone. Avoid duplicate ids after copying sections. Keep useful navigation accessible. Do not call essential information aside merely for its position. Make fictional details and service limits clear.
Practice questions
Why write a brief first? Which id does Next session target? Why is the notice an article? What does tabindex=-1 do here? Does 16:30 identify India time alone? Create a fictional club page and test links, headings and the keyboard route. Explain a correction.
Check your practice answers
It identifies what readers need, so structure serves the content. Session, through href=#session. It is a complete announcement that makes sense independently. It allows main to receive focus without adding it to normal Tab order. No. The visible text states the time zone. Use clear regions, unique ids and matching fragments. A useful correction might repair a mismatched id, unclear link or skipped heading level.
Interview questions
What makes this more than div groups?
Why test before decorative CSS?
What is a skip link for?
What still needs manual review?
Quick revision
Plan, build a small version, then extend. Match fragment links to unique ids. Choose explicit heading levels and clear regions. Review keyboard behaviour and content.