+ 1

bgcolor not working with <p> element!!

Check ya code please https://code.sololearn.com/W3M9SBIiGIOx/?ref=app

3rd Sep 2020, 2:19 AM
KK Technology
KK Technology - avatar
3 Respostas
+ 3
Put this in your CSS and remove bgcolor="yellow" ... it's not needed, it doesn't go there p { background-color:yellow; }
3rd Sep 2020, 2:23 AM
Steven M
Steven M - avatar
+ 3
No, you can do inline style <p style="background-color:yellow">Some paragraph text goes here.</p>
3rd Sep 2020, 2:27 AM
Steven M
Steven M - avatar
+ 2
Steven M does this simple thing also require CSS?
3rd Sep 2020, 2:24 AM
KK Technology
KK Technology - avatar