background color property in css code example
Example 1: background color css
html,body {
background-color: red;
}
Example 2: background color
//javascript type css:
document.body.style.backgroundColor = "blue";
// or inline css:
<div style="background-color: blue;"></div>