+ 1
How to change bg colour
3 RĂ©ponses
+ 2
<style>
body {
background-color:red;
}
</style>
0
<body bgcolor = âhex code colorâ>
eg
<body bgcolor = â#ff0000â>
check this because havenât done html for 21 years :)
0
By âbgâ, Iâm assuming you mean background color.
Hereâs an example of how to change the background color of a div:
div {
background-color: #000000;
}