CBSE Class 10 Computer Applications Question 33 of 56

Cascading Style Sheets (CSS) — Question 14

Back to all questions
14
Question

Question 14

Select the correct statement from the options given below.

  1. Body background-color:#F5A9A9; color; Black
  2. Body[background-color:#F5A9A9; color: Black]
  3. Body(background-color:#F5A9A9; color : Black)
  4. None of these
Answer

None of these

Reason — None of the statements follows the correct syntax to define a rule in CSS which is as follows:

selector {property1: value ; property2: value ; }