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

Simple steps to configure Nginx reverse proxy with SSL

Preface A reverse proxy is a server that receives...

CSS3 analysis of the steps for making Douyin LOGO

"Tik Tok" is also very popular and is s...

MySQL free installation version configuration tutorial

This article shares the MySQL free installation c...

In-depth explanation of MySQL user account management and permission management

Preface The MySQL permission table is loaded into...

Introduction to the process of creating TCP connection in Linux system

Table of contents Steps to create TCP in Linux Se...

Example code for converting html table data to Json format

The javascript function for converting <table&g...

MYSQL A question about using character functions to filter data

Problem description: structure: test has two fiel...

Detailed explanation of the process of building and running Docker containers

Simply pull the image, create a container and run...

Centos7.5 installs mysql5.7.24 binary package deployment

1. Environmental preparation: Operating system: C...

Using CSS to implement loading animation of Android system

There are two common loading icons on the web, on...

Example of using Vue built-in component keep-alive

Table of contents 1. Usage of keep-alive Example ...