Use background-color property to set or change background color of any html elements.

<html>
<head>
<style type="text/css">
#dv{
background-color:green;
}
</style>
</head>
<body>
<div id="dv">
    Hello world
</div>
</body>
</html>