1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 9
  4. Which of the following is the correct syntax for a CSS rule?

Added 15 Nov 2026

Which of the following is the correct syntax for a CSS rule?

  1. selector {property: value;} Correct answer
  2. selector: {property=value;}
  3. selector {property=value}
  4. selector: {property: value;}

Correct answer

A. selector {property: value;}

5 views

MCQSEXAM

Explanation

A CSS rule is written as selector { property: value; }, for example p { color: blue; }.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? 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