Background-color
Background-color property is used to change the background color of any element.
we can set a background color of the webpage to light green as seen in the example below
body {
background-color: lightgreen;
}Complete Example
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: lightgreen;
}
</style>
</head>
<body>
<h1>Dont let anyone dull your sparkle</h1>
<p>This page has a light green background</p>
</body>
</html>Background color can be specified for div, span, paragraphs etc.