Tables |
表 格 |
|
| <table></table> |
Creates a table |
创 建 一 个 表 格 |
|
| <tr></tr> |
Sets off each row in a table |
开 始 表 格 中 的 每 一 行 |
|
| <th></th> |
Sets off the table header (a normal cell with bold, centered text) |
设 置 表 格 头: 一 个 通 常 使 用 黑 体 居 中 文 字 的 格 子 |
|
| <td></td> |
Sets off each cell in a row |
开 始 一 行 中 的 每 一 个 格 子 |
|
| Table attributes |
表 格 属 性 |
|
| <table border=#> |
Sets width of border around table cells |
设 置 围 绕 表 格 的 边 框 的 宽 度 |
|
| <table cellspacing=#> |
Sets amount of space between table cells |
设 置 表 格 格 子 之 间 空 间 的 大 小 |
|
| <table cellpadding=#> |
Sets amount of space between a cell's border and its contents |
设 置 表 格 格 子 边 框 与 其 内 部 内 容 之 间 空 间 的 大 小 |
|
| <table width=# or %> |
Sets width of table - in pixels or as a percentage of document width |
设 置 表 格 的 宽 度- 用 绝 对 像 素 值 或 文 档 总 宽 度 的 百 分 比 |
|
| <tr align=?> or <td align=?> |
Sets alignment for cell(s) (left, center, or right) |
设 置 表 格 格 子 的 水 平 对 齐( 左 中 右) |
|
| <tr valign=?> or <td valign=?> |
Sets vertical alignment for cell(s) (top, middle, or bottom) |
设 置 表 格 格 子 的 垂 直 对 齐( 上 中 下) |
|
| <td colspan=#> |
Sets number of columns a cell should span (default=1) |
设 置 一 个 表 格 格 子 应 跨 占 的 列 数( 缺 省 为 1) |
|
| <td rowspan=#> |
Sets number of rows a cell should span (default=1) |
设 置 一 个 表 格 格 子 应 跨 占 的 行 数( 缺 省 为 1) |
|
| <td nowrap> |
Prevents the lines within a cell from being broken to fit |
禁 止 表 格 格 子 内 的 内 容 自 动 断 行 回 卷 |