Single lesson · Written for OCR A Level (H446)

HTML and CSS – OCR A Level Computer Science lesson (H446)

Students learn to write HTML for a page's structure and CSS rules using element, class and id selectors.

Also in a bundle Networks and Web Technologies – OCR A Level Computer Science lessons (H446) 13 lessons for £45 · save 13% on buying separately

Lesson 8 of 13 in unit 12.9 Networks and Web Technologies, taught in Year 12, Summer 1. It answers one big question: How does a browser know a page's content and appearance?

By the end, students can write HTML for a page's structure and CSS rules using element, class and id selectors.

The Build (the main task)
Write the HTML and CSS for Lumen Row's 'Now showing' page: a heading, a film image with alt text, a list of showing times, a link to the booking page, and CSS rules that style one class and one id (8 marks).
Support version
A part-written page with the head and body done, a card of the tags the specification lists, and three of the CSS properties given.
Challenge
Add a booking form with a text input and a submit button, and explain why one external style sheet suits a site with many pages.
Real-world link
The 'Now showing' page of Lumen Row's website.
Key words
HTML, CSS and Structure, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“HTML controls how a page looks”; “A class selector starts with # and an id selector with a full stop”.
OCR H446 specification
1.3.4 (a).

Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.

Students need computers for the main task.

Also sold in the Networks and Web Technologies unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.

What's included

  • Slide deck (PowerPoint)
  • Lesson plan (Word)
  • Worksheet (Word)
  • Support worksheet with scaffolds (Word)
  • Single-teacher licence: use and adapt it with your own classes

More for A Level Computer Science

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.