background image

The background-image property is used to set the background image of the box. The possible values are URIs that points to the valid image (gif, jpeg, png)
url('image.gif')
url('http://www.quotefellas.com/quote.jpg')
snippet
<html>
<head>
</head>
<body>
    <p style="background-image: url(image.gif)"> Never cry for the person who hurts you. 
	Just smile and say, thanks for giving me a chance to find someone better than you. </p>
    <button style="background-image: url(image.gif)">Button with Image</div>
</body>
</html>
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +