▶ TrainingGet Pro
All tools & lessonsAll toolsAllGet the appApp
Learning departments Music, Maths, Cookery, Programming and Art are open – explore →

KS3 computing: CSS rules, selectors and colour test – Year 7

These are UK practice tests (year groups, national curriculum). In the US? Try the US version →

A free HTML and CSS test on CSS rules, classes and ids, which rule wins, colour and text styles, for Year 7 (ages 11–12): 12 questions, marked instantly. Build, fix and predict real web pages in your browser. No sign-up.

Before you start

12 questions on CSS rules, classes and ids, which rule wins, colour and text styles, picked from a bank of 34 each time. Some ask what the browser will show; some ask you to put lines in order, or to build or fix a short page. Your page is drawn by your own browser and checked – some checks are hidden, and CSS answers are also tried on other pages, so a copied answer won't pass.

Choose how to do it

No sign-up and no adverts. Your answers stay on this device – nothing you type is sent to us. How it is marked: Classfern's own checks, in your browser; nothing is marked by a person or by guesswork.

Curriculum

National curriculum in England, computing, key stage 3: pupils should be taught to use 2 or more programming languages, at least one of which is textual, to solve a variety of computational problems; make appropriate use of data structures [for example, lists, tables or arrays]; design and develop modular programs that use procedures or functions; and to design, use and evaluate computational abstractions that model the state and behaviour of real-world problems and physical systems; and to understand how instructions are stored and executed within a computer system; understand how data of various types (including text, sounds and pictures) can be represented and manipulated digitally, in the form of binary digits; and to create, reuse, revise and repurpose digital artefacts for a given audience, with attention to trustworthiness, design and usability.

Contains public sector information licensed under the Open Government Licence v3.0.

Our lessons and questions are our own. They are not written or endorsed by any government department, testing agency or exam board. HTML and CSS are open web standards; Classfern is not affiliated with the organisations that publish them.

Learn it first: Lesson 10: Your first CSS rules · Lesson 11: Classes, ids and which rule wins · Lesson 12: Colour on the web: names, hex and rgb · Lesson 13: Styling text: size, weight and alignment

More KS3 computing tests · Programming Department · All practice tests