Select correct syntax to specify the "color" attribute for <p> HTML element.

@monsieurtoul08, thanks! Updated now :)

2019 Apr 11, 7:43:39 PM

<font> element is now obsolete. Correct answer should be: <p style="color:red;">Text</p>

2019 Apr 11, 7:47:14 AM

@applefacelisa66 thanks! fixed

2017 Dec 1, 5:57:59 PM

<p color="red">Text</p> is not correct. You should either use <p style="color: red;">Text</p> or <p><font color="blue">Text</font></p>

2017 Nov 17, 1:15:03 AM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback