HTML table tag tutorial (19): row tag

HTML table tag tutorial (19): row tag

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

Recommend

How to reduce the memory and CPU usage of web pages

<br />Some web pages may not look large but ...

Rules for registration form design

I finished reading "Patterns for Sign Up &...

Detailed explanation based on event bubbling, event capture and event delegation

Event bubbling, event capturing, and event delega...

CSS layout tutorial: How to achieve vertical centering

Preface I have been summarizing my front-end know...

Introduction to the use of MySQL pt-slave-restart tool

Table of contents When setting up a MySQL master-...

Methods of adaptive web design (good access experience on mobile phones)

1. Add the viewport tag to the HTML header. At th...

Detailed explanation of Angular structural directive modules and styles

Table of contents 1. Structural instructions Modu...

Introduction to the use and disabling of transparent huge pages in Linux

introduction As computing needs continue to grow,...

How to implement second-level scheduled tasks with Linux Crontab Shell script

1. Write Shell script crontab.sh #!/bin/bash step...

Step by step guide to build a calendar component with React

Table of contents Business Background Using Techn...

Five things a good user experience designer should do well (picture and text)

This article is translated from the blog Usability...

Use the Linux seq command to generate a sequence of numbers (recommended)

The Linux seq command can generate lists of numbe...