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
Introduction to structure and performance HTML st...
As the domestic network environment continues to ...
The filter attribute defines the visual effect of...
Yes, CSS has regular expressions too (Amen) Two p...
View MySQL transaction isolation level mysql> ...
1: nginx server solution, modify the .conf config...
The installation process is omitted (I installed ...
Table of contents principle Network environment p...
This is the content of React 16. It is not the la...
1. Installation Search the mariadb version to be ...
Table of contents Arithmetic operators Abnormal s...
Configuration Example upstream backend { server b...
What are XHTML tags? XHTML tag elements are the b...
Hyperlink, also called "link". Hyperlin...
1. MySQL User Management [Example 1.1] Log in to ...