Start learning →

Olympiad (Class 6) HTML, CSS and Scratch — practice questions — page 2

Explore 69 free HTML, CSS and Scratch questions in Olympiad (Class 6) Computer Science. Open each question or exercise to read its content, reference answers and available explanation.

Practise HTML, CSS and Scratch with Quill →

HTML, CSS and Scratch questions and exercises with answers

Showing questions 31–60 of 69.

A CSS rule is made of one or more selectors plus what?Read the answer and worked solution →Which symbol separates one declaration from the next inside a CSS block?Read the answer and worked solution →A block holds color: blue; margin: 4px; width: 50%; How many declarations are in it?Read the answer and worked solution →Which prefix marks an id selector in CSS?Read the answer and worked solution →Six cards should share one style, chosen with a dot prefix. Which selector is right?Read the answer and worked solution →An id value may be applied to how many elements in one page?Read the answer and worked solution →Which pseudo-class styles an element only while the pointer is over it?Read the answer and worked solution →Which selector styles only part of an element and uses a double colon?Read the answer and worked solution →Which long hex colour is the same as the short form #F00?Read the answer and worked solution →In rgb(), each colour part is given on a scale from 0 up to what?Read the answer and worked solution →What does the A add to RGBA compared with plain RGB?Read the answer and worked solution →A parent box is 500px wide. A child is set to width 80%. What is its width?Read the answer and worked solution →A viewport is 1000px wide. What width does 50vw give?Read the answer and worked solution →Which width value is written correctly in CSS?Read the answer and worked solution →A style element sets h1 to red. How many edits recolour 30 h1 headings blue?Read the answer and worked solution →An id rule and a class rule both colour one paragraph. Which one wins?Read the answer and worked solution →A style attribute says green; a style element says blue. What colour is the paragraph?Read the answer and worked solution →Which CSS feature lets one page look different on screen than on paper?Read the answer and worked solution →From which three sources can CSS information come?Read the answer and worked solution →What does the rule div .myClass {color: red;} colour?Read the answer and worked solution →Which body maintains the CSS specifications?Read the answer and worked solution →Are .Menu and .menu the same class in CSS?Read the answer and worked solution →Besides HTML, which of these markup formats can also use CSS?Read the answer and worked solution →Which institute's Media Lab develops Scratch?Read the answer and worked solution →Scratch lets children build programs from what?Read the answer and worked solution →Which three areas make up the main Scratch interface?Read the answer and worked solution →A sprite is placed at x = 0 and y = 0. Where is it on the stage?Read the answer and worked solution →Which control is pressed to run the scripts in a Scratch project?Read the answer and worked solution →To animate a sprite by changing how it looks, which tab edits its looks?Read the answer and worked solution →Where do blocks that a user creates appear in the palette?Read the answer and worked solution →

Worked practice questions

A CSS rule is made of one or more selectors plus what?

  1. A closing end tag
  2. A declaration block
  3. A hidden comment
  4. A document type line
Show answer and solution

Correct answer: B. A declaration block

Each rule pairs selectors with a declaration block that holds the styling.

Open this question →

Which symbol separates one declaration from the next inside a CSS block?

  1. #
  2. :
  3. .
  4. ;
Show answer and solution

Correct answer: D. ;

A declaration block is a semicolon-separated list of declarations inside braces.

Open this question →

A block holds color: blue; margin: 4px; width: 50%; How many declarations are in it?

  1. 3
  2. 2
  3. 6
  4. 4
Show answer and solution

Correct answer: A. 3

Each property with its value is one declaration, and three are separated by semicolons.

Open this question →

How to practise

  1. Choose a HTML, CSS and Scratch question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

Put it into practice

Continue with HTML, CSS and Scratch practice for Olympiad (Class 6). Read explanations as you go. No signup form needed to start.

Practise HTML, CSS and Scratch →

More Computer Science topics