Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
How to change bg colour
3 Respostas
+ 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;
}