Describe how background color and image are applied to a web page.

In HTML, background color is set using the background-color CSS property. You can apply it to the whole page or specific elements. For example, to change the background color of the whole page to light blue:

<style>
body {
background-color: lightblue;
}
</style>

To set a background image, use the background-image property in CSS, specifying the image URL. For example:

<style>
body {
background-image: url(‘background.jpg’);
background-size: cover;
}
</style>