22
Q:

html background color

<html>
 
<body style="background-color:red;">
  <p> test <p/> 
  <body/>
  </html>
4
<body style="background-color: #fff">
  <!---this will change the body color---!>

</body>
10
<!DOCTYPE html>
<html>
<body style="background-color:powderblue;">

</body>
</html>
3

body {
  background-color: lightblue;
}
 
10
body {
  background-color: rgb(255,255,255);
}
5
<body style="background-color: anything you want">
	[insert 10000 lines of code here]
  
</body>
6
html,body {
  background-color: red;
}
4
<body bgcolor="some color">
 HTML goes here
</body>
3
@keyframes bgcolor {
    0% {
        background-color: #45a3e5
    }

    30% {
        background-color: #66bf39
    }

    60% {
        background-color: #eb670f
    }

    90% {
        background-color: #f35
    }

    100% {
        background-color: #864cbf
    }
}

body {
    -webkit-animation: bgcolor 20s infinite;
    animation: bgcolor 10s infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}
1
background-color=red;
-1
<body style="background-color:black; font-color:blue">
  [you're welcome XD]
-1

New to Communities?

Join the community