Problem Statement
What is the correct CSS syntax for changing text color to red?
Explanation
The correct syntax is p { color: red; }. The property 'color' changes the text color. This tests basic CSS property knowledge — often asked in coding rounds.
Code Solution
SolutionRead Only
p { color: red; }