- 1
Background color
How would you change the background color in HTML?
8 Answers
+ 3
Yeah but it doesn't change the background, just the font color
+ 2
You have to use CSS (or inline styling). Use the "background" or "background-color" property. Example:
body {
    background: red;
}
/*The entire document's background is red*/
div {
    background-color: blue;
}
/*All the div elements' background is blue*/
+ 2
Check this thread on sololearn on how to use background color
https://www.sololearn.com/learn/CSS/1103/
- 1
what is codes <html>
          <head>
          </head>
          <body bgcolor="#000000">
	      <!-- Display a gold background in hexcolor --> 
                    <!-- gold in hexcolor is #FFD700 --> 
              
          </body>
</html>



