"; 2. Use the style attribute of the body element, the syntax "
".">html Method to set the color of the web page: 1. Use the bgcolor attribute of the body element, the syntax "
"; 2. Use the style attribute of the body element, the syntax "< ;body style="background: web page color value;">".
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
htmlSet the web page color
1. Use the bgcolor attribute of the body element
2. Use the style attribute of the body element
Recommended tutorial: "html video tutorial》
The above is the detailed content of How to set web page color in html. For more information, please follow other related articles on the PHP Chinese website!