html define background image code example
Example 1: how to change background image in html
<style>
div {
background-image: url('img_girl.jpg');
}
</style>
Example 2: how to make a picture your background on html
<html>
<body>
<h2>Background Image</h2>
<div style="background-image: url('img_girl.jpg');">