New
New
Year 11
OCR

CSS for layout

I can design a wireframe plan of a web page layout and create it using HTML and CSS.

New
New
Year 11
OCR

CSS for layout

I can design a wireframe plan of a web page layout and create it using HTML and CSS.

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

These resources were created for remote use during the pandemic and are not designed for classroom teaching.

Lesson details

Key learning points

  1. Wireframe designs can be used to plan the layout of a web page.
  2. The CSS box model explains how HTML elements are structured and spaced on a web page.
  3. The position of divisions can be controlled by using the floating property of a tag.
  4. Divisions can be placed inside other divisions to control groups of content.

Keywords

  • House style - an agreed design that is used to style the content in a consistent way

  • Wireframe - a plan that outlines the basic structure and layout of visual content

  • Floating - allowing HTML elements to be positioned in different ways

Common misconception

Divisions can only be arranged as regular rows and columns.

By using divisions within other divisions any layout of a page is possible.


To help you plan your year 11 computer science lesson on: CSS for layout, download all teaching resources for free and adapt to suit your pupils' needs...

Pupils will have encoutered many uses of HTML in the world around them. Tailor the activities in the slides to best reflect the experiences pupils in your school will have had when using HTML-based technology.
Teacher tip

Equipment

Access to the Raspberry Pi Foundation's Code Editor or some other means of creating HTML files.

Licence

This content is © Oak National Academy Limited (2025), licensed on Open Government Licence version 3.0 except where otherwise stated. See Oak's terms & conditions (Collection 2).

Lesson video

Loading...

Prior knowledge starter quiz

Download quiz pdf

6 Questions

Q1.
Match the term to its definition.
Correct Answer:division,a section of a webpage used to group items

a section of a webpage used to group items

Correct Answer:class,an identifier for styling multiple elements

an identifier for styling multiple elements

Correct Answer:attribute,a descriptor for an object such as colour or size

a descriptor for an object such as colour or size

Correct Answer:CSS,a tool for styling web pages

a tool for styling web pages

Q2.
What is a division in a web page?
Correct answer: a section of a web page used to group items
a tool for creating external stylesheets
a method for linking web pages
a tag for adding images
Q3.
What is the purpose of a class in HTML?
to structure the content of a web page
to link external CSS files
Correct answer: to identify and apply styles to a collection of elements
to add images to a web page
Q4.
Which HTML tag is used to define a division?
Correct Answer: <div>, div
Q5.
What is an attribute in HTML?
a tag used to define a style
Correct answer: a word or phrase used to describe an object
a section of a web page
a method for linking web pages
Q6.
What is the benefit of using class names in HTML?
They enable linking to other pages.
Correct answer: They allow for consistent styling of multiple elements.
They add images to a web page.
They make web pages interactive.

Assessment exit quiz

Download quiz pdf

6 Questions

Q1.
What term describes a plan that outlines the basic structure and layout of visual content?
Correct Answer: Wireframe, Wire frame
Q2.
Order the steps to design and create a webpage layout.
1 - Create a wireframe.
2 - Write the HTML code for the structure.
3 - Use CSS to style the layout.
4 - Test the webpage.
Q3.
What does the CSS box model explain?
how HTML elements are styled consistently
how divisions are placed inside other divisions
how to link external stylesheets
Correct answer: how HTML elements are structured and spaced on a webpage
Q4.
What is the purpose of the floating property?
Correct answer: to position HTML elements in different ways
to add interactivity to a webpage
to create consistent styles for elements
to define the structure of a webpage
Q5.
How can divisions be used to control groups of content?
Correct answer: by placing them inside other divisions
by linking them to external stylesheets
by adding inline styles
by using JavaScript
Q6.
What is a house style?
a method for linking webpages
a plan for the structure of a webpage
Correct answer: an agreed design used to style content consistently
a tool for adding interactivity to a webpage