1. Home
  2. PDF downloads
  3. Computer Science MCQs PDF
  4. Cascading Style Sheets - CSS MCQs PDF

Cascading Style Sheets - CSS MCQs PDF Download

Download 13 Cascading Style Sheets - CSS MCQs from Computer Science as a free PDF, with answers. Every question is also available online with an explanation, so you can practise, check your answers and revise the parts you get wrong. Last updated 19 November 2026.

13 MCQs with answers Downloaded 1 time Updated 19 November 2026

Download Cascading Style Sheets - CSS MCQs PDF

Number of questions
Answers
Practice online

Free, no sign-up. A4 PDF with numbered questions, options A–D, answer key and a QR code to practise online.

Share with your study group

Preview: first 10 Cascading Style Sheets - CSS MCQs

1. Which CSS property is used to change text color?

  1. A. font-color
  2. B. text-color
  3. C. color
  4. D. font-style
Show answer

Correct answer: C – color

See the explanation

2. What does CSS stand for?

  1. A. Computer Style Sheets
  2. B. Creative Style Sheets
  3. C. Cascading Style Sheets
  4. D. Colorful Style Sheets
Show answer

Correct answer: C – Cascading Style Sheets

See the explanation

3. Which CSS property changes text color?

  1. A. font-color
  2. B. text-color
  3. C. color
  4. D. font-style
Show answer

Correct answer: C – color

See the explanation

4. Which CSS unit is relative to viewport width?

  1. A. vw
  2. B. em
  3. C. rem
  4. D. %
Show answer

Correct answer: A – vw

See the explanation

5. Which property creates a flex-container?

  1. A. position:flex
  2. B. flex:flex
  3. C. display:flex
  4. D. container:flex
Show answer

Correct answer: C – display:flex

See the explanation

6. Which pseudo-class targets every second row?

  1. A. :nth-child(2)
  2. B. :nth-child(even)
  3. C. :nth-of-type(2)
  4. D. ::even
Show answer

Correct answer: B – :nth-child(even)

See the explanation

7. Which of these CSS selectors has the highest specificity?

  1. A. #nav
  2. B. .nav
  3. C. nav a
  4. D. .nav a
Show answer

Correct answer: A – #nav

See the explanation

8. With box-sizing: content-box, an element has width 200px, padding 20px and a 5px border on each side. What is its total rendered width?

  1. A. 250px
  2. B. 200px
  3. C. 240px
  4. D. 225px
Show answer

Correct answer: A – 250px

See the explanation

9. Which position value removes an element from normal flow and places it relative to its nearest positioned ancestor?

  1. A. absolute
  2. B. sticky
  3. C. relative
  4. D. static
Show answer

Correct answer: A – absolute

See the explanation

10. Which CSS property controls the stacking order of overlapping positioned elements?

  1. A. order
  2. B. float
  3. C. position
  4. D. z-index
Show answer

Correct answer: D – z-index

See the explanation

More Computer Science topics

Full subject & exam PDFs

Cascading Style Sheets - CSS MCQs PDF – FAQ

Is the Cascading Style Sheets - CSS MCQs PDF free?

Yes. The Cascading Style Sheets - CSS MCQs PDF is completely free. You do not need an account; just choose how many questions you want and press Download PDF.

How many questions are in the Cascading Style Sheets - CSS MCQs PDF?

There are 13 Cascading Style Sheets - CSS MCQs with answers. PDFs are made topic by topic: pick a topic and download 25, 50, 75, 100, 200, 300 or up to 500 questions in one file.

Does the PDF include the answers?

Yes. Choose "Answer key at the end" for a self-test sheet, or "Answer under each question" for quick revision. The online version also explains each answer.

Can I practise Cascading Style Sheets - CSS MCQs online?

Yes. Press Practice online to answer the same questions on MCQsExam, see explanations, and take a timed test with a free certificate.

Is the Cascading Style Sheets - CSS PDF updated?

The PDF is rebuilt automatically whenever new Cascading Style Sheets - CSS MCQs are added or corrected. It was last updated on 19 November 2026.