Web HTML-HTML.com
You are here: HTML > Document Tags > <BODY ...>

Attribute for <BODY ...>
BGCOLOR =color expression

Usage Recommendation
Use it, but don't rely on it.

BGCOLOR sets the background color of the web page. For example, to set the background color of a page to a light-yellow, use:

this code produces this
<BODY BGCOLOR="#FFFFCC"
TEXT=BLACK
LINK=BLUE
VLINK=PURPLE
ALINK=RED
>
this page

When you set any of the colors for a web page, set all of them. Otherwise there is no assurance that the colors you set will show up against the defaults you didn't set.

<BODY BACKGROUND="..."> >>>

          

Copyright © 2002-10 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com