In order to clearly distinguish the table structure in the source code, the HTML language provides three tags: ,
, and
, which correspond to the header, body, and footer of the table respectively. The tag is used to define the style of the header at the top of the table.
basic grammar
Grammar explanation
align means horizontal alignment, where Left means left, Center means middle, and Right means right. valign stands for vertical alignment, Top means top, Middle means center, and Bottom means bottom.
File example: 10-44.htm
Set the table header style through tags. 01 02 03 04 05 06 07 Set Customize table header style 08 09 10
11
12
13
网页制作软件
14
15
16
17
网页图像软件
Fireworks
18
19
20
网页制作软件
Dreamweaver
21
22
23
网页动画软件
Flash
24
25
11
12
13
Web page production software
14
15
16
17
Web image software
Fireworks
18
19
20 Webpage production software
Dreamweaver
21
22
23
Webpage animation software
Flash
24
25
26 27
File description
Line 11 sets the style of the table header, and line 15 sets the end of the table header.
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