back ground color html code example

Example 1: background color none

element {
	background-color: transparent;	
}

Example 2: html background color

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

Example 3: how to make a background color in html

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

</body>

Example 4: html change background color

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

</body>
</html>

Example 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>

Example 6: how to change the background in html

<body style="background-color: anything you want">
	[insert 10000 lines of code here]
  
</body>

Tags:

Css Example