add background image to html file code example
Example 1: how to add a background image in html
<!-- HTML -->
<div id="imageDiv"></div>
<!-- CSS -->
<style>
#imageDiv {
background-image: url('someimage.png');
}
</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');">