 |
Adding Color To Your Table Background
HTML tables
are used within a web page to organize content. They can be displayed with
background colors, with or without borders, and can contain rows and columns
displayed in an unlimited number of ways.
In this example, the table below contains 2 columns and 1 row. The left column
has the background color set to #72A4D2. The right column has the background
color set to #EAE8E8.
|
This
is an example of a table with background colors. This HTML table has 2 columns
and 1 row. |
<TABLE BORDER="0"
CELLPADDING="4" ALIGN="Center" WIDTH="50%">
<TR>
<TD BGCOLOR="#72A4D2" WIDTH="10%"></TD>
<TD BGCOLOR="#EAE8E8"></TD>
</TR>
</TABLE> |
|
Edit
the text indicated in bold to suit your needs. |
|
|
|
Back
Submit
your HTML code snippets. We'll credit you and give you a link to your
website.
|