set html background color code example
Example 1: html background color
<html>
<body style="background-color:red;">
<p> test <p/>
<body/>
</html>
Example 2: css set background color
body {
background-color: red;
}
<html>
<body style="background-color:red;">
<p> test <p/>
<body/>
</html>
body {
background-color: red;
}