Capstone: Multi-Page HTML Website and Audit
Design the navigation contract
Plan three pages before writing them: Home, Guide and Contact. Each needs its own title and heading, consistent navigation, a skip target and an aria-current marker for the current page. Save the files in the same directory so relative links resolve.
<a href="#content">Skip to content</a><header> <p>Garden learning club</p> <nav aria-label="Primary"> <a href="index.html" aria-current="page">Home</a> <a href="guide.html">Guide</a> <a href="contact.html">Contact</a> </nav></header><main id="content" tabindex="-1"> <h1>Garden learning club</h1> <p>Learn to care for indoor herbs.</p> <p> <a href="guide.html">Read the planting guide</a> </p></main><footer> <p>Garden learning club — fictional practice site</p></footer>Home establishes the shared navigation and page structure.
Reuse structure without duplicating identity
On Guide change the current-page marker and heading, not the navigation order. The native disclosure keeps tips usable without JavaScript. Each standalone document sets lang, UTF-8, viewport and its own title; the shared CSS file controls presentation.
<a href="#content">Skip to content</a><header> <p>Garden learning club</p> <nav aria-label="Primary"> <a href="index.html">Home</a> <a href="guide.html" aria-current="page">Guide</a> <a href="contact.html">Contact</a> </nav></header><main id="content" tabindex="-1"> <h1>Planting guide</h1> <h2>Getting started</h2> <ol> <li>Choose a pot.</li> <li>Check the soil.</li> </ol> <details> <summary>More tips</summary> <p>Record watering dates.</p> </details></main><footer> <p>Garden learning club — fictional practice site</p></footer>Guide reuses the navigation but has its own content and current-page marker.
Review and record evidence
The contact page deliberately does not collect data. Audit all three files: follow every internal link, inspect names and headings, test keyboard and narrow viewport, review images and loading, and document security assumptions. Run a conformance checker and real assistive technology before claiming accessibility. The complete site and audit worksheet are in projects/site/.
<a href="#content">Skip to content</a><header> <p>Garden learning club</p> <nav aria-label="Primary"> <a href="index.html">Home</a> <a href="guide.html">Guide</a> <a href="contact.html" aria-current="page">Contact</a> </nav></header><main id="content" tabindex="-1"> <h1>Contact the club</h1> <p>This is a fictional practice site. No messages are collected.</p> <p> <a href="guide.html">Read our guide</a> </p></main><footer> <p>Garden learning club — fictional practice site</p></footer>Contact provides an honest non-collecting page and a route back to the guide.
Common mistakes and practice
Open projects/site/index.html or serve the package locally. Complete the audit worksheet: expected result, actual result, browser/version, pass/fail/not run and fix. Check every relative path and fragment, unique titles, focus, zoom and contrast, no unnecessary permissions or data collection, responsive layout and no-script fallback. Report missing evidence, not a blanket pass. Extend the site with your own content and repeat the review.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Capstone: Multi-Page HTML Website and Audit — Knowledge Check
Apply the project design and review concepts taught in this lesson.
Which navigation attribute identifies the current page?
What changes between sibling documents?
How do you verify a relative link?
What proves WCAG conformance?
What should an untested release gate say?