Home  >  Article  >  Web Front-end  >  HTML表格标记教程(44):表格的表首标记_HTML/Xhtml_网页制作

HTML表格标记教程(44):表格的表首标记_HTML/Xhtml_网页制作

WBOY
WBOYOriginal
2016-05-16 16:44:312110browse

为了在源代码中清楚地区分表格结构,html语言中规定了、 、 3个标记,分别对应与表格的表首、表主体和表尾。标记用于定义表格最上端表首的样式。
基本语法
语法解释
align代表水平对齐,其中Left为居左,Center为居中,Right为居右。valign代表垂直对齐,Top为居上,Middle为居中,Bottom为居下。 文件范例:10-44.htm
通过标记设定表格表首样式。
01
02
03
04
05
06
07 设定表格表首样式
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
网页制作软件
网页图像软件 Fireworks
网页制作软件 Dreamweaver
网页动画软件 Flash

26
27 文件说明
第11行设定义了表格表首的样式,第15行设置了表格的表首结束。
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