Run
Online Code Editor
Change the background color using Bgcolor attribute
JavaTpoint
Html Tutorial
In HTML, we can change the color of the background of a webpage using the following different ways:
1. Using bgcolor attribute
2. Using an Inline style attribute
3. Using internal CSS