w3 setting background images code example
Example 1: css background image
background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Example 2: how to change background image in html
<style>
div {
background-image: url('img_girl.jpg');
}
</style>