<style>  
background-image: url(".....");  
</style>    
The background tends to be blank when I use this snippet.Is there any other way to get background image for my page ?.
<style>  
background-image: url(".....");  
</style>    
The background tends to be blank when I use this snippet.Is there any other way to get background image for my page ?.
 
    
     
    
    The background tends to be blank when i use this snippet
Simply do something like below but of course replace the URL with your own:
body {
    background-image: url("paper.gif");
}
 
    
    You need to specify which element you want to give the background.
Either you give the element a class or a id or something like body.
.class {
    background-image: url("http://icons.veryicon.com/ico/System/Icons8%20Metro%20Style/Logos%20Wikipedia.ico");
}
#id {
    background-image: url("http://icons.veryicon.com/ico/System/Icons8%20Metro%20Style/Logos%20Wikipedia.ico");
}
body {
    background-image: url("https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png");
}<div id="id">Test1</div>
<div class="class">Test2</div> 
    
    You need to specify the tag, class, or id you want the background-image to be in. Example
body, .class, #id {
     background-image: url("img.png");
 }
or inline-style
<div style="background-image: url('something.gif')"></div>
for instance if image is in the same folder as css or html say 
body {
    background-image: url("image.png");
}
if in a folder outside the css folder
body {
    background-image: url("../foldername/image.png");
}
and so on
