CSS background-image Property
Css allow set backgroung image / images.Use background-images property for set background image in a web page.
Images Allow types is PNG, JPG,GIF,JPEG,SVG,WEBP
![]() |
CSS background-image Property |
syntax
background-image: url("image path");
single background image set Example code
<style>body {background-image: url("backgroundimage.gif");}</style>
Multiple background images set Example code
<style>body {background-image: url("backgroundimage1.png"), url("backgroundimage2.jpg");}</style>
COMMENTS