Answers for "What is the correct HTML for adding a background color?"

10

html background color

<html>
 
<body style="background-color:red;">
  <p> test <p/> 
  <body/>
  </html>
Posted by: Guest on February-23-2020
14

how to make a background color in html

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

</body>
Posted by: Guest on May-06-2020
4

html how to change background color

<body style="background-color:powderblue;">
<p style="background-color:tomato;">This paragraph has a red background.</p>
</body>
Posted by: Guest on September-04-2020
2

html background color

<body style="background-color:grey;">
Posted by: Guest on August-01-2021
2

html change background color of page

<body bgcolor="some color">
 HTML goes here
</body>
Posted by: Guest on July-30-2020
0

how to set webpage background color in thml

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Backgorund Color</title>
   </head>
   <body style="background-color:grey;">
      <h1>Products</h1>
      <p>We have developed more than 10 products till now.</p>
   </body>
</html>
Posted by: Guest on September-18-2020

Code answers related to "What is the correct HTML for adding a background color?"

Browse Popular Code Answers by Language