Deprecated in HTML5. Do not use.

<body bgcolor="">
HTML attribute

Attribute of
<body>
What does <body bgcolor=""> do?
Was used to set the background color on a document. Deprecated. Use CSS instead.

All of the styling attributes related to the <body> have been deprecated in HTML5. For information on styling the background of a web page see the information provided on the background page. For general information about styling web pages, see our CSS tutorial.