Answers for "background colours"

26

css background color

body {
  background-color: green;
}
Posted by: Guest on February-03-2020
5

background color using css

/* To apply color to background you have to use 'background-color' property and value of property is color name. */
html,body {
  background-color: blue;
}
Posted by: Guest on June-04-2020
5

background color

//javascript type css:
document.body.style.backgroundColor = "blue";
// or inline css:
<div style="background-color: blue;"></div>
Posted by: Guest on July-03-2020
-1

how to edit colours in background html

<html>
  <body style="backgroung:red">
  <body>
</html>
Posted by: Guest on November-08-2020
0

background color

document.getElementById('id').style.backgroundColor = 'green' ;
Posted by: Guest on May-23-2021

Browse Popular Code Answers by Language