1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 9
  4. Which property is used to change the background color in…

Added 15 Nov 2026

Which property is used to change the background color in CSS?

  1. color
  2. background-color Correct answer
  3. bgcolor
  4. background

Correct answer

B. background-color

MCQSEXAM

Explanation

The CSS property background-color sets the background colour of an element, for example background-color: yellow;.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 9 MCQs

Practise all Computer Science FBISE Class 9 MCQs

Similar MCQs