You can set the background color of a table by using the bgcolor property. When the
Basic Syntax
<tablebgcolorr=color_value>
Syntax explanation
defines a color, you can use the English color name or hexadecimal color value to perform. Example of a
file: 10-7.htm
To set the color of the table background.
01<!----------------------------------
02<!--file Example: 10-7.htm-->
03<!-- File Description: Set the color of the table background;
04<!----------------------------------
05
06< Head>
07<title> Set the color of the table background </title>
08
09<body>
10 <H1> the mainstream web design software
11<tableborder=3width=400height=100bordercolor= #336699Bgcolor = #00FFFF
12<tr>
13<td> web image software </td><td>fireworks</td>
14</tr
15<tr>
16<td> Web page maker software </td><td>dreamweaver</td>
17</tr
18<tr>
19<td> web animation software </td><td>flash</td>
20</tr>
21≪/table>
22</body>
23
File description
11th line defines the color of the table's background color as #00ffff.