CBSE Class 10 Computer Applications Question 12 of 37

Cascading Style Sheets (CSS) — Question 8

Back to all questions
8
Question

Question 8

What property is used to change the text color of an element ?

  1. fontcolor:
  2. textcolor:
  3. color:
  4. font-color:
Answer

color:

Reason — color property is used to change the text color of an element. For example:

p {color : red ;}