Start learning →

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

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 1–30 of 69.

Which tag pair holds everything a visitor actually sees on a web page?Read the answer and worked solution →Text written inside which tag appears on the browser tab?Read the answer and worked solution →Which of these tags needs no closing tag at all?Read the answer and worked solution →Priya writes an a tag to make a link. Which attribute holds the web address?Read the answer and worked solution →Which attribute of the img tag points to the file to display?Read the answer and worked solution →HTML headings go from most to least important. Which tag is the least important?Read the answer and worked solution →HTML headings run from most to least important. How many levels exist?Read the answer and worked solution →Which character comes right before the name in an end tag?Read the answer and worked solution →A page needs a one-of-a-kind label on a single paragraph so a link can jump to it. Which attribute fits?Read the answer and worked solution →Five different elements must share one style label. Which attribute suits this best?Read the answer and worked solution →Which attribute usually shows a small hint when the pointer rests on an element?Read the answer and worked solution →Which attribute declares that one paragraph is written in Hindi?Read the answer and worked solution →Which attribute sets whether text runs left to right or right to left?Read the answer and worked solution →The declaration DOCTYPE html at the top of a page is meant for which version?Read the answer and worked solution →A page has no document type declaration. In which mode do browsers often draw it?Read the answer and worked solution →Which tag tells the role of text, a second-level heading, rather than its looks?Read the answer and worked solution →What is the main job of the anchor element a?Read the answer and worked solution →To make a small photo clickable, the img element is placed inside which element?Read the answer and worked solution →Which can be embedded in an HTML page to change how the page behaves?Read the answer and worked solution →Headings and paragraphs give a page its structure. What sets its colours and layout?Read the answer and worked solution →Which code makes a browser show a literal less-than sign instead of starting a tag?Read the answer and worked solution →What does a browser do with an HTML comment?Read the answer and worked solution →As of version 4.0, how many character entity references does HTML define?Read the answer and worked solution →Which attribute-writing habit is called unsafe?Read the answer and worked solution →For styling one element from a stylesheet, which attributes are the better practice to use?Read the answer and worked solution →HTML tags are written inside which kind of brackets?Read the answer and worked solution →What does the div tag define in a page?Read the answer and worked solution →Which idea gives Cascading Style Sheets their name?Read the answer and worked solution →What is CSS designed to keep apart?Read the answer and worked solution →A school site has 40 pages. How can one edit recolour all its headings?Read the answer and worked solution →

Worked practice questions

Which tag pair holds everything a visitor actually sees on a web page?

  1. head
  2. meta
  3. title
  4. body
Show answer and solution

Correct answer: D. body

The body element wraps the visible page content, while head holds information about the page.

Open this question →

Text written inside which tag appears on the browser tab?

  1. div
  2. body
  3. meta
  4. title
Show answer and solution

Correct answer: D. title

The title element sets the page title shown on tabs and window bars.

Open this question →

Which of these tags needs no closing tag at all?

  1. h1
  2. p
  3. a
  4. br
Show answer and solution

Correct answer: D. br

The br tag is an empty element, so it takes no content and must not have an end tag.

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