CSS | CSS Introduction | 2

Last Updated :
Discuss
Comments

Which of the following is the correct syntax to change the text color of a paragraph to blue?

p {color: blue;}

p {text-color: blue;}

p {font-color: blue;}

p {color: #0000FF;}

Share your thoughts in the comments