1 Hour SEO : Domain Registration Bank : Ecommerce Dictionary : GoDefy : Great Web Design Tips
JavaScript 2 : Jumbo Keyword : Marketing Tips Store : Michael Wong Blog : Mike's Marketing Tools
Search Engines 2 : SEO eBook : Text Links Ads : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML > Tables > <TD ...>

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

BGCOLOR sets the background color of a single cell in a table. For example, this code sets the background color of the "grapefruit" cell to pink:

this code produces this

<TABLE CELLPADDING=8>
<TR>
<TD>lemons</TD>
<TD BGCOLOR="#FF6699">grapefruit</TD>
</TR>
<TR>
<TD>bananas</TD>
<TD>pineapple</TD>
</TR>
</TABLE>

lemons grapefruit
bananas pineapple

You can also set the background colors of the entire table with <TABLE BGCOLOR="..."> and of rows with <TR BGCOLOR="...">.

<TD BORDERCOLOR="..."> >>>

          

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