1. Home
  2. Computer Science MCQs
  3. Cascading Style Sheets - CSS
  4. Which CSS property changes text color?

Added 12 Sep 2025

Which CSS property changes text color?

  1. font-color
  2. text-color
  3. color Correct answer
  4. font-style

Correct answer

C. color

16 views

MCQSEXAM

Explanation

The color property in CSS sets the foreground color of an element's text.

Reference

Asked in: Web Development

https://www.w3schools.com/css/css_text.asp

Doubts & discussion

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

Ask a doubt about this MCQ

Shown after review. No links please.

More Cascading Style Sheets - CSS MCQs

Practise all Cascading Style Sheets - CSS MCQs

Similar MCQs