Learn HTML Code Tutorial Reference Guide

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.




 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial