描述 (Description)
HTML标记用于向表中添加正文。 在确定表格的每个部分(页眉,页脚,正文)时,tbody标签与thead标签和tfoot标签一起使用。
例子 (Example)
HTML tbody TagThis is the head of the table
This is the foot of the tableCell 1Cell 2Cell 3Cell 4...more rows here containing four cells...
Cell 1Cell 2Cell 3Cell 4...more rows here containing four cells...
这将产生以下结果 -新页面打开
全局属性 (Global Attributes)
具体属性 (Specific Attributes)
HTML标记还支持以下附加属性 -属性值描述
alignright
left
center
justify
charDeprecated - 视觉对齐。
charcharacterDeprecated - 指定要对齐文本的字符。 align =“char”时使用
charoff像素或%Deprecated - 指定使用char属性指定的第一个字符的对齐偏移(以像素或百分比值表示)。 align =“char”时使用
valigntop
middle
bottom
baselineDeprecated - 垂直对齐。
事件属性 (Event Attributes)
浏览器支持 (Browser Support)ChromeFirefoxIEOperaSafariAndroid
YesYesYesYesYesYes