The background color of the table can be set through the BGCOLOR attribute. Basic syntax <TABLE BGCOLORr=color_VALUE> Syntax explanation <br />When defining colors, you can use English color names or hexadecimal color values. File example: 10-7.htm Sets the table background color. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-7.htm --> 03 <!-- File Description: Set the table background color--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the table background color</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 Bgcolor=#00FFFF> 12 <TR> 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 11 defines the background color of the table as #00FFFF. |
<<: MySQL fuzzy query usage (regular, wildcard, built-in function)
>>: WeChat applet implements SMS login in action
Recorded the installation of mysql-8.0.12-winx64 ...
Exploiting a newly discovered sudo vulnerability ...
There are three ways to introduce CSS: inline sty...
Table of contents Preface Preliminary preparation...
Important note: Before studying this article, you...
Preface In actual development, business requireme...
Install jdk: Oracle official download https://www...
Table of contents 1. Main functions 2. Implementa...
For sorting, order by is a keyword we use very fr...
Preface If we want to achieve the effect of onlin...
Things to note 1. First, you need to create a my....
Knowledge points about Memory storage engine The ...
Swap memory mainly means that when the physical m...
What is JConsole JConsole was introduced in Java ...
Table of contents FileReader reads local files or...