add background image to div html code example
Example 1: how to add background in css
body {
background-image: url("paper.gif");
background-color: #cccccc;
}
Example 2: background image css
.selector {
background-image: url(image.png);
}
body {
background-image: url("paper.gif");
background-color: #cccccc;
}
.selector {
background-image: url(image.png);
}