+ 1
bgcolor not working with <p> element!!
Check ya code please https://code.sololearn.com/W3M9SBIiGIOx/?ref=app
3 Answers
+ 3
Put this in your CSS and remove bgcolor="yellow" ... it's not needed, it doesn't go there
p {
background-color:yellow;
}
+ 3
No, you can do inline style
<p style="background-color:yellow">Some paragraph text goes here.</p>
+ 2
Steven M does this simple thing also require CSS?