HTML table markup tutorial (21): row border color attribute bordercolor

Time:2022-6-18

To beautify the table, you can set different border colors for rows.
Basic grammar

<TR Bordercolor=corder_VALUE>

Grammatical interpretation

When defining colors, you can use English color names or hexadecimal color values.
Document example: 10-19 htm

Sets the color of the row border.
01 <!– —————————— –>
02 <!– Document example: 10-19 htm –>
03 <!– File Description: set the color of line border — >
04 <!– —————————— –>
05 <HTML>
06 <HEAD>
07 <title> set line border color </title>
08 </HEAD>
09 <BODY>
10 <h1> mainstream web design software </h1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100>
12 <TR Bordercolor=#336699>
13 <td> web image software </td><td>fireworks</td>
14 </TR>
15 <TR>
16 <td> web page making 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 </HTML>

Document description

Line 12 defines the border color of the line as \336699.