<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
body{
background-image: url("ocean.jpg");
color: #fff;
}
</style>
</head>
<body>
<h1>CSS background-image Property</h1>
<button onclick="myFunction()">Click Me</button>
<script>
var x = document.getElementsByTagName("body")[0];
function myFunction(){
x.style.backgroundImage = "none";
x.style.color = "black";
}
</script>
<p><strong>Note</strong>: Click on the button to remove the background-image.</p> </body>
</html>