The background-image property is used to specify a background image to be applied to all matched elements.
By default, this image is tiled to cover the entire element, excluding the margin.
We can apply background image using the following syntax -
background-mage : url(image.png)
Now we will see Examples -
Example 1 -
Example 2 -
We can also add image as the background of paragraph as well