Western Governors University (WGU) ITWD3120 C777 Web Development Applications Practice Exam

Access More Questions
Which CSS property is used to change the text color of an element?
Correct Answer:
color
Explanation:
The property that changes the text color of an element in CSS is the "color" property. This property specifically targets the text content within an element and allows you to set its color using various color values such as hexadecimal, RGB, RGBA, HSL, or named colors. For example, using `color: red;` would change the text color to red. Other property names, such as "font-color," "text-color," and "foreground-color," do not exist in CSS. Therefore, they would not produce the desired effect of altering the text color. The correct choice reflects established CSS standards and conventions, making it essential for styling text within web applications effectively.

Access more questions from this quiz

Continue to Western Governors University (WGU) ITWD3120 C777 Web Development Applications Practice Exam for more practice questions and the full quiz experience.

Access More Questions