CSS background-image

The CSS background-image property is used to specify a background image of an element.
Syntax: background-image: <value>
Possible Values:
  • <uri>
  • none
  • inherit
Initial Value: None
Applies to: All elements
Inherited: No
Media: Visual
Example
background-image:url("/pix/smile.gif")
Try it yourself!