HTML table markup tutorial (36): Background color attribute of table header BGCOLOR_HTML/Xhtml_Web page production
Release: 2016-05-16 16:44:36
Original
1974 people have browsed it
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
Properties
Description
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 of this Website
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
Latest Articles by Author
-
2024-10-22 09:46:29
-
2024-10-13 13:53:41
-
2024-10-12 12:15:51
-
2024-10-11 22:47:31
-
2024-10-11 19:36:51
-
2024-10-11 15:50:41
-
2024-10-11 15:07:41
-
2024-10-11 14:21:21
-
2024-10-11 12:59:11
-
2024-10-11 12:17:31