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

9 Practical Tips for Creating Web Content Pages

Content 1. Give readers a reason to stay. Make the...

An article to teach you HTML

If you are not committed to becoming an artist, t...

How to view and modify the time zone in MySQL

Today I found that a program inserted an incorrec...

How to use JS to check if an element is within the viewport

Preface Share two methods to monitor whether an e...

Detailed tutorial on deploying Springboot or Nginx using Kubernetes

1 Introduction After "Maven deploys Springbo...

Discussion on more reasonable creation rules for MySQL string indexes

Preface Regarding the use of MySQL indexes, we ha...

Introduction to Docker Quick Deployment of SpringBoot Project

1. Install Docker First open the Linux environmen...

A detailed introduction to Linux memory management and addressing

Table of contents 1. Concept Memory management mo...

Seven Principles of a Skilled Designer (1): Font Design

Well, you may be a design guru, or maybe that'...

How to create, start, and stop a Docker container

1. A container is an independently running applic...