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