background color div html code example
Example 1: html change background color of page
<body bgcolor="some color">
HTML goes here
</body>
Example 2: turn a div green
div {
background-color: green;
}
<body bgcolor="some color">
HTML goes here
</body>
div {
background-color: green;
}