HTML table markup tutorial (36): Background color attribute of table header BGCOLOR_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:44:36
Original
1960 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
14
15
16
17
18
19
20
21
网页图像软件 Fireworks
网页制作软件 Dreamweaver
网页动画软件 Flash
12
13 Web image softwareFireworks
14 15
16 Web page creation software Dreamweaver 17 18
19 Web animation software Flash20 21 22 23 File Description Line 13 defines the background color of the header as #00FFFF.
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!