HTML table tag tutorial (7): background color attribute BGCOLOR

HTML table tag tutorial (7): background color attribute BGCOLOR

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

Recommend

Sharing the structure and expression principles of simple web page layout

Introduction to structure and performance HTML st...

Some experience sharing on enabling HTTPS

As the domestic network environment continues to ...

Detailed explanation of the use of filter properties in CSS

The filter attribute defines the visual effect of...

Regular expression usage in CSS selectors

Yes, CSS has regular expressions too (Amen) Two p...

Detailed explanation of Mysql transaction isolation level read commit

View MySQL transaction isolation level mysql> ...

Two solutions for Vue package upload server refresh 404 problem

1: nginx server solution, modify the .conf config...

Detailed process of configuring NIS in Centos7

Table of contents principle Network environment p...

React error boundary component processing

This is the content of React 16. It is not the la...

Analysis of the configuration process of installing mariadb based on docker

1. Installation Search the mariadb version to be ...

Summary of Operator Operations That Are Very Error-Prone in JavaScript

Table of contents Arithmetic operators Abnormal s...

Detailed explanation of nginx upstream configuration and function

Configuration Example upstream backend { server b...

Common tags in XHTML

What are XHTML tags? XHTML tag elements are the b...

Tutorial on using hyperlink tags in XHTML

Hyperlink, also called "link". Hyperlin...

The difference between MySQL user management and PostgreSQL user management

1. MySQL User Management [Example 1.1] Log in to ...