Answers for "how to change background in html"

CSS
2

change background of html

<body style="background-color: color or #hexcode here;">
Posted by: Guest on February-24-2021
14

how to make a background color in html

<body style="background-color: #fff">
  <!---this will change the body color---!>

</body>
Posted by: Guest on May-06-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
5

html how to change background color

<body style="background-color:powderblue;">
<p style="background-color:tomato;">This paragraph has a red background.</p>
</body>
Posted by: Guest on September-04-2020

Code answers related to "how to change background in html"

Browse Popular Code Answers by Language