New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How do I change the background color in HTML ?
2 Answers
+ 3
p{
background-color: red;
}
the CSS rule above makes the background of all paragraphs within the document change to red.
- 3
i think its <body bgcolor="thecoloryouwant">