Home >Web Front-end >HTML Tutorial >HTML table markup tutorial (36): Background color attribute of table header BGCOLOR_HTML/Xhtml_Web page production
HTML table markup tutorial (36): Background color attribute of table header BGCOLOR_HTML/Xhtml_Web page production
WBOYOriginal
2016-05-16 16:44:361987browse
The
tag is used to set the attributes of a header in the table. See the table below:
The
tag attribute of the table header
PropertiesDescription
ALIGN
Align horizontally
VALIGN
Vertical alignment of cell contents
BGCOLOR
Cell background color
BACKGROUND
Cell background image
BORDERCOLOR
Cell border color
BORDERCOLORLIGHT
The bright border color of the cell
BORDERCOLORDARK
Dark border color for cells
WIDTH
cell width
HEIGHT
cell height
The background color of the header can be set through the BGCOLOR attribute.
Basic Grammar>
Grammar explanation When defining colors, you can use English color names or hexadecimal color values.
File example: 10-34.htm Set the color of the header background. 01 02 03 04 05 06 07 Set Set the color of the header background 08 09 10
Mainstream web design software
11
12
13
网页图像软件
Fireworks
14
15
16
网页制作软件
Dreamweaver
17
18
19
网页动画软件
Flash
20
21
12
13
Web image software
Fireworks 14
15
16
Web page creation software
Dreamweaver
17
18
19
Web animation software
Flash
20
21
22 23
File Description
Line 13 defines the background color of the header as #00FFFF.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn