diff --git a/html/html基础.md b/html/html基础.md index eb02763..637d7c7 100644 --- a/html/html基础.md +++ b/html/html基础.md @@ -339,7 +339,6 @@ ``` - - colgroup和col - <colgroup>:col的容器 - <col>:col通常用来指定表格中列的样式 @@ -359,7 +358,99 @@ ``` - + - caption:添加描述性文本,描述性文本位于表格的正上方 + ```html + + + + + + + + + + +
Waifu Table
NameAge
Touma17
+ ``` + - thead,tbody,tfoot + - thead通常用来标注表头的行,即<th>标签所在的行 + - tfoot通常用来标注表尾信息,比如对上述内容之和的SUM统计 + - tbody通常用来标注表格除thead和tfoot之外的其他信息 + ```html + + + + + + + + + + + + + + + + + + + + + + + + + + +
Cost Summary
Term 1Term 2
35
12
23
+ ``` + - 可以在td中嵌套table表格 + ```html + + + + + + + + + + + + +
Waifu
+ + + + + + + + + +
NameAge
Touma17
+
+ + + + + + + + + +
CityJob
TokyoPianoist
+
+ ``` + - scope属性:在th标签中,具有scope属性,可以指明该th对应的是行标题、列标题、行组标题、列组标题,scope标签对应如下值: + - row + - col + - rowgroup + - colgroup +- Web表单 + - +