body { background-color: green; }
html,body { background-color: red; }
//javascript type css: document.body.style.backgroundColor = "blue"; // or inline css: <div style="background-color: blue;"></div>
/* To apply color to background you have to use 'background-color' property and value of property is color name. */ html,body { background-color: blue; }
body {background-color: coral;}
background-color: blue;
<body style="background-color:black; font-color:blue"> [you're welcome XD]