HTML table tag tutorial (20): row background color attribute BGCOLOR

HTML table tag tutorial (20): row background color attribute BGCOLOR

The BGCOLOR attribute can be used to set the background color of a row.
Basic syntax
<TR BGcolorr=color_value>
Syntax explanation <br />When defining colors, you can use English color names or hexadecimal color values.
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 />Line 12 defines the background color of the row as #00FFFF.

<<:  Mysql get table comment field operation

>>:  Use Docker to build a Git image using the clone repository

Recommend

Summary of common commands for Linux user and group management

This article summarizes the common commands for L...

Two ways to introduce svg icons in Vue

How to introduce svg icons in Vue Method 1 of int...

Detailed explanation of script debugging mechanism in bash

Run the script in debug mode You can run the enti...

Tutorial on installing mysql5.7.18 on windows10

This tutorial shares the installation and configu...

Installing the ping tool in a container built by Docker

Because the Base images pulled by Docker, such as...

Detailed explanation of loop usage in javascript examples

I was bored and sorted out some simple exercises ...

Use Xshell to connect to the Linux virtual machine on VMware (graphic steps)

Preface: I recently started to study the construc...

HTML4.0 element default style arrangement

Copy code The code is as follows: html, address, ...

Small problem with the spacing between label and input in Google Browser

Code first, then text Copy code The code is as fol...

Introduction to the process of installing MySQL 8.0 in Linux environment

Table of contents Preface 1. Linux changes the yu...

Thumbnail hover effect implemented with CSS3

Achieve resultsImplementation Code html <heade...

CSS Transition expands and collapses elements by changing the Height

A common development need is that we want to coll...

Detailed explanation of monitoring Jenkins process based on zabbix

1. Monitoring architecture diagram 2. Implementat...