The attributes of the <TR> tag are used to set the properties of each row in the table, as shown in the following table:
The <TR> tag attribute of the table
| Attributes | describe |
| ALIGN | Horizontal alignment of row content |
| VALIGN | Vertical alignment of row content |
| BGCOLOR | Background color of rows |
| BORDERCOLOR | Line border color |
| BORDERCOLORLIGHT | The bright border color of the row |
| BORDERCOLORDARK | Line dark border color |
Set the color of the line background.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-18.htm -->
03 <!-- File description: Set the color of the line background-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the color of the line background</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699>
12 <TR Bgcolor=#00FFFF>
13 <TD>Web Image Software</TD><TD>Fireworks</TD>
14 </TR>
15 <TR>
16 <TD>Web page production 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 descriptionThe row tag <TR> is defined.