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)


<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>
Related Tutorial
3 Margin
4 Border
Follow Us #