how to add image as background html code example
Example 1: How to set a image as a backgroung image
<style>
body {
background-image: url('img_girl.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
Example 2: inserting a image in html backgound
<html>
<style>
body
{
background-color: url('url from web'); /* replace "url from the web" with your url*/
}
</style>
<body>
<!-- Your body displayed with the picture-->
<h1></h1>
</body>
</html>