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.
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
|