CSS

5 min · 10 quiz questions

Year 8 · Chapter 11 Web pages · Lesson 2. This lesson goes with level 14 of the Byte Lab Year 8 game. Play the level first, then use this page to revise.

Learning objectives. By the end of this lesson you should be able to explain what CSS is for; write a CSS rule with a selector, properties and values; use colours, fonts, sizes, alignment, borders, padding and margin; use class and id selectors; and link a stylesheet to a page.

In this lesson

  • What is CSS?
  • A CSS rule
  • Useful properties
  • Class and id selectors
  • Linking a stylesheet
  • Shortcuts to know
  • Real mission: style your web page
  • Revision checklist