background-color html code example

Example 1: html background color

<html>
 
<body style="background-color:red;">
  <p> test <p/> 
  <body/>
  </html>

Example 2: how to make a background color in html

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

</body>

Example 3: html change background color

<!DOCTYPE html>
<html>
<body style="background-color:powderblue;">

</body>
</html>

Example 4: background-color html

background-color=red;

Example 5: how to edit colours in background html

<html>
  <body style="backgroung:red">
  <body>
</html>

Tags:

Css Example