+ 1

How was the code to put background color to <p>?

17th Sep 2020, 9:53 AM
Szpot Sebastian
Szpot Sebastian - avatar
3 Antworten
+ 12
<p style="background-color:red"> Paragraph </p>
17th Sep 2020, 9:54 AM
TOLUENE
TOLUENE - avatar
+ 2
Use Google or go through css course Anyway , <p style="background-color:'blue' "></p> //inline css
17th Sep 2020, 9:54 AM
Abhay
Abhay - avatar
+ 1
Its very easy bro SYNTAX FOR Html : <p style=" background-color:red"> Text </p> And SYNTAX FOR HTML: .p{ Background-color:red }
17th Sep 2020, 11:53 AM
ANKIT
ANKIT - avatar