+ 1
How was the code to put background color to <p>?
3 Antworten
+ 12
<p style="background-color:red">
Paragraph
</p>
+ 2
Use Google or go through css course
Anyway ,
<p style="background-color:'blue' "></p> //inline css
+ 1
Its very easy bro
SYNTAX FOR Html :
<p style=" background-color:red">
Text
</p>
And
SYNTAX FOR HTML:
.p{
Background-color:red
}