We would like to know how to change Body background color and image.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body {<!--from www .j av a 2 s .c o m-->
background:
url("http://www.java2s.com/style/download.png")
no-repeat center;
background-color: blue;
}
</style>
</head>
<body>
</body>
</html>
The code above is rendered as follows: