It does not work When I followed the answer from similar questions
My css file......
.tail{
height:300px;
width:300px;
background-image:url('C:\Users\joseph\Documents\GitHub\Spring2014\CMP342\MainProject\WebContent\WEB-INF\img\login.png');
}
in html
<div class="tail">
</div>
path for image: checked linked in html: checked
You need to use the file:// URI Scheme.
If your site is not on your local computer, then you can upload it to a service like imgur.com, and link to the hosted image.