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
Ideas: An outer box sets the background; an inner...
The blogger said : I have been writing a series o...
The full name of Blog should be Web log, which mea...
Table of contents 1. Preparation 2. Decompression...
The mobile version of the website should at least...
Table of contents Global variable globalData Page...
MySQL 5.7.18 installation and problem summary. I ...
Recently I used MySQL to export table data to an ...
Setting the font for the entire site has always b...
1. Introduction Since pictures take up a lot of s...
In the process of making web pages, we often use f...
This article shares the specific code of videojs+...
Based on theories such as Saussure's philosop...
Table of contents No switch, no complex code bloc...
When making a web page, you sometimes use a dividi...