| Back to Tutorial Page |
The Html code for the body background-color property on this page looks like this:<STYLE> TABLE.special {background-color:#6699FF}.bgc {background-color:#66FFCC} |
| The Html code for the table below looks like this: <TABLE WIDTH=300 BORDER=1 ALIGN=CENTER CLASS="special"> |
| Cell 1, Row 1 | Cell 2, Row 1 |
| Cell 1, Row 2 | Cell 2, Row 2 |
| Note: the reason for using TABLE.special Class is because I do not want all my tables in this document to have a background color. I only want this table to have a background color. | |
| Note:Cell 2, Row 2 has its background changed by applying the "bgc" rule. Html code looks like this: <TD CLASS="bgc">Cell 2, Row 2</TD> |
|
| Back | Page 1 of 1 | |