The attributes of the <TR> tag are used to set the properties of each row in the table, as shown in the following table: <TR> tag attributes for tables Attribute Description ALIGN Horizontal alignment of row contents VALIGN Vertical alignment of row contents BGCOLOR Background color of the row BORDERCOLOR Border color of the row BORDERCOLORLIGHT Light border color of the row BORDERCOLORDARK The dark border color of the row File example: 10-18.htm Sets the row background color. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-18.htm --> 03 <!-- File Description: Set the row background color--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the row background color</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 Graphics Software</TD><TD>Fireworks</TD> 14 </TR> 15 <TR> 16 <TD>Web page creation 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> File Description <br />Defines the row tag <TR>. |
<<: Native JS to implement drag position preview
>>: MYSQL slow query and log settings and testing
1. Start the Docker container Start a new Docker ...
<br />Some web pages may not look large but ...
I finished reading "Patterns for Sign Up &...
Table of contents 1. Description of functions in ...
Event bubbling, event capturing, and event delega...
Preface I have been summarizing my front-end know...
Table of contents When setting up a MySQL master-...
This article uses examples to illustrate the erro...
1. Add the viewport tag to the HTML header. At th...
Table of contents 1. Structural instructions Modu...
introduction As computing needs continue to grow,...
1. Write Shell script crontab.sh #!/bin/bash step...
Table of contents Business Background Using Techn...
This article is translated from the blog Usability...
The Linux seq command can generate lists of numbe...