Blog Desk       February 10, 2020      241

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

  1. color
  2. text-color
  3. fgcolor

The Right Answer is : Option A

Explanation

Change the text color of an HTML element

The color property is used to set the color of a HTML elements text.

Example:

p{color:#ff0000;}