how to insert picture in background in html 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');">