The HTML Attribute reference.

"bgcolor" - html Attribute (deprecated)

  • Sets the background color for the document body or table cells.
  • You should use styles (CSS) instead.

Value(s): color

Color picker:

Selected Color:

Harmonious colors:
Used in the element(s):
Elements Description
body The <BODY> tag contains the body of the document. It must come after the </'head' > (if a header is specified). Everything between the <BODY> and </BODY> is considered part of the document body. It is the part of the document that is visible to the user.
td This element defines a data cell in a table.
th This element defines a header cell in a table.
tr This element defines a table row.
table The HTML table model allows you to arrange text, images, links, forms, form fields, other tables, etc. into rows and columns of cells.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.