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

Front-end JavaScript operation principle

Table of contents 1. What is a JavaScript engine?...

How to store images in MySQL

1 Introduction When designing a database, it is i...

Detailed example of HTML element blocking Flash

Copy code The code is as follows: wmode parameter...

CSS flex several multi-column layout

Basic three-column layout .container{ display: fl...

Three examples of blur background effects using CSS3

Let’s not start with the introduction and get str...

MySQL export of entire or single table data

Export a single table mysqldump -u user -p dbname...

Native JS implements a very good-looking counter

Today I will share with you a good-looking counte...

Let's talk briefly about the changes in setup in vue3.0 sfc

Table of contents Preface Standard sfc writing me...

How to capture exceptions gracefully in React

Table of contents Preface ErrorBoundary Beyond Er...

52 SQL statements to teach you performance optimization

1. To optimize the query, try to avoid full table...

Click the toggle button in Vue to enable the button and then disable it

The implementation method is divided into three s...

Detailed explanation of execution context and call stack in JavaScript

Table of contents 1. What is the execution contex...

Specific operations of MYSQL scheduled clearing of backup data

1|0 Background Due to project requirements, each ...

CSS solution for centering elements with variable width and height

1. Horizontal center Public code: html: <div c...