Answers for "how to change the background to an image in html"

CSS
125

css background image

background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Posted by: Guest on April-07-2020
5

how to change background image in html

<style>
div {
  background-image: url('img_girl.jpg');
}
</style>
Posted by: Guest on July-24-2020
3

adding background image

body{background-image: url("paper.gif");}
Posted by: Guest on June-28-2020

Code answers related to "how to change the background to an image in html"

Browse Popular Code Answers by Language