Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> HTML >> Snippet

Set background color of table


<!-- just use the bgcolor attribute of the <table> tag -->
< table bgcolor =red >
</ table >

<!-- can also set cell colors the same way -->
< table >
< tr >< td   bgcolor =red > one < td   bgcolor =blue > two
</ table >