CSS Background-image Property
In the CSS Background-color property page, we saw that we can specify a signle color for the background. What if we want to use an image for our background? That's what the background-image property is for.
Let's look at the example below:
With Background Image
The yellow square is image yp.jpg.