表格的基本语法
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
不带边框的表格:
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
跨多行、多列的表元(Table Span)
跨多列的表元
Morning Menu | ||
---|---|---|
Food | Drink | Sweet |
A | B | C |
Morning Menu | ||
---|---|---|
Food | Drink | Sweet |
A | B | C |
跨多行的表元
Morning Menu | Food | A |
---|---|---|
Drink | B | |
Sweet | C |
Morning Menu | Food | A |
---|---|---|
Drink | B | |
Sweet | C |
表格尺寸设置
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
表格内文字的对齐/布局
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet | Other |
---|---|---|---|
A | B | C | D |
Food | Drink | Sweet | Other |
---|---|---|---|
A | B | C | D |
表格在页面中的对齐/布局(Floating Table)
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
My favorites...
cookies, chocolates, and more.
Food | Drink | Sweet |
---|---|---|
A | B | C |
My favorites...
cookies, chocolates, and more.
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
My favorites...
cookies, chocolates, and more.
表格的标题
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |
valign=top is default.
Food | Drink | Sweet |
---|---|---|
A | B | C |
Food | Drink | Sweet |
---|---|---|
A | B | C |