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

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

Example 4: background-color html

background-color=red;

Tags:

Css Example