Using the HTML bgcolor tag with tables
HTML bgcolor tag. Using the bgcolor tag within the table and tr tags.
HTML in Action
| Background color is cyan |
| row #1 |
| row #2 |
| Background color set by row |
| row #1 |
| row #2 |
HTML Code
Just cut-n-paste to reuse.
<table border="1" cellspacing="0" bgcolor="#00ffff">
<th>Background color is cyan</th>
<tr>
<td>row #1 </td>
</tr>
<tr>
<td>row #2 </td>
</tr>
</table>
<br>
<table border="1" cellspacing="0" bgcolor="green">
<th>Background color set by row</th>
<tr bgcolor="red">
<td>row #1 </td>
</tr>
<tr bgcolor="blue">
<td>row #2 </td>
</tr>
</table>
If you find this site useful and are a book buyer/reader...
Abe Books is one of my affiliates. I only use affiliates that I also purchase products from. I love Abe books. I have purchased many books from them originally cost $40 to $60 for as little as $5 to $10 dollars including shipping costs.
By accessing Abe books and clicking on one of my links I receive a small commission on your purchase that helps pay for this site. You pay no more for your books than if you accessed their site directly. Thanks for your support.
Click on icon to find books on HTML at Abe Books... |
|
|
|
The Following are a list of CSS books I own
When it comes to HTML books I am afraid I do not have many books on this subject.
The ones I do have are in the closet somewhere. If you are new to HTML rest assured
that there are many good ones out there. I am just not a good resources for advice on
this. I do own "Html Pocket Reference by Jennifer Niederst".
|
 |