+ 2
How do you make a backround color with HTML?
3 Respostas
+ 4
Same goes for pure HTML:
<p style="background-color: red">This paragraph will have a red background</p>
And if applied in <body> tag, the whole doc will get it.
+ 2
actually, if you want to be updated when styling your site, you should do all the styling in CSS.
body{
background-color: red;
}
that's the code by the way, just an exemple.
+ 2
Thanks