html change background color of page code example

Example 1: html change background color

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

</body>
</html>

Example 2: 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 3: how to change the background in html

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

Example 4: html change background color of page

<body bgcolor="some color">
 HTML goes here
</body>

Tags:

Misc Example