CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS background-image Property




CSS Background image Property use to set a element backgorund image.


Property Values


Properties Value Description
Syntax background-image:url("URL_Path");
value   url("URL_Path")
  none
  inherit
Allow to All Elements
Inherited No

Example-Code

<p style="background-image:url(jix/img_nat.png);color:#FFFFFF;
height:130px;width:200px;font-size:20px">This example is Background 
Image set in element. </p> 
Online Try This Code Your Self....   »

Example-Result

This example is Background Image set in element.