We are learning to
- We are learning to distinguish text content, markup structure and visual style.
- We are learning why separating these representations helps reuse and access.
Success criteria: I can…
- I can mark a heading, paragraph and list with appropriate HTML elements.
- I can change presentation through CSS without changing the underlying text and explain one practical benefit.
Lesson sequence
55 min total- 1
Same message, different looks
Starter 0–8 minTeacherCreate the two local mock-ups by opening the supplied HTML with each of the two supplied CSS files in turn; print or project both views. The text and markup are identical. Ask what information stays identical and what changes. Read the notice aloud so visual appearance is not the sole source of meaning.
StudentsList content that stays the same and presentation that changes.
Supplied HTML and two CSS files Local browser - 2
Mark the structure
Main 8–20 minTeacherGive students this entire fictional notice: 'School Garden Planning Afternoon. Date: Friday in Term 1. Place: school library. Bring a pencil, a reusable water bottle and one idea for a plant label.' Provide this complete file as notice.html, copying the code between the quotation marks: '<!doctype html><html lang="en-AU"><head><meta charset="utf-8"><title>Garden planning notice</title><link rel="stylesheet" href="style.css"></head><body><main><h1>School Garden Planning Afternoon</h1><p>Date: Friday in Term 1.</p><p>Place: school library.</p><h2>What to bring</h2><ul><li>A pencil</li><li>A reusable water bottle</li><li>One idea for a plant label</li></ul></main></body></html>'. Model h1, p, h2 and ul/li, then demonstrate viewing the file locally. Explain that a large bold div may look like a heading without being marked as one.
StudentsCreate the supplied local HTML document and label its content and structural elements.
Complete notice.html source in teacher actions School-approved offline editor - 3
Change the style only
Main 20–35 minTeacherSupply these complete stylesheets, saving either one as style.css beside notice.html. Plain version: 'body { font: 16px Arial, sans-serif; color: #111; background: #fff; } main { max-width: 42rem; margin: 1rem auto; }'. Styled version: 'body { font: 18px Arial, sans-serif; line-height: 1.6; color: #102b3f; background: #f1f6fa; } main { max-width: 42rem; margin: 2rem auto; padding: 2rem; background: #fff; border: 2px solid #102b3f; } h1 { font-size: 2rem; } li { margin-bottom: .5rem; }'. Show one at a time by replacing only style.css, then refresh the browser. Keep notice.html unchanged. Ask what becomes easier to read and why sufficient contrast matters.
StudentsSwitch the two supplied stylesheets and compare readability without editing the notice content.
Complete plain and styled CSS source in teacher actions Local browser - 4
Check access and reuse
Main 35–49 minTeacherAsk pairs to inspect the document outline and read the notice with the stylesheet disabled. If a school-approved screen reader is available, demonstrate heading navigation without asking students to disclose any disability. Prompt students to propose how one stylesheet could serve multiple event notices.
StudentsExplain one access benefit and one reuse benefit of keeping structure separate from style.
Local browser Optional school-approved accessibility tool - 5
Three-part exit ticket
Plenary 49–55 minTeacherAsk students to point to one example each of content, markup and CSS in their local files and explain why each part has a different job.
StudentsComplete a three-column exit ticket with examples and an explanation.
Exit ticket
Key vocabulary
Differentiation
Support
- Provide a partially marked-up HTML file and matching element cards.
- Allow pair programming with clear driver and navigator roles.
Extension
- Compare the same semantic HTML under print and screen styles.
- Investigate how a decorative element can be hidden from assistive technology without hiding meaningful text.
Accessibility
- Provide keyboard-only instructions and high-contrast code displays.
- Offer a printed markup card and non-screen alternative for the comparison.
Assessment
- Check the HTML uses semantic elements for heading and list structure.
- Use the exit ticket to test whether students distinguish content from structure and presentation.
Resources
- Complete fictional notice.html and two CSS source files in lesson steps
- School-approved offline editor
- Exit ticket
Safety notes
- Use local files or the school's approved environment; do not publish student work or personal details publicly.
- Check any web-based editor against school privacy and account rules before use.