HTML DOM TBody Obheheto
TBody object
The TBody object represents the HTML <tbody> element.
Access TBody object
You can use getElementById() to access the <tbody> element:
var x = document.getElementById("myTBody");
Create TBody object
You can use the document.createElement() method to create a <tbody> element:
var x = document.createElement("TBODY");
TBody object properties
属性 | Description |
---|---|
align |
HTML5 中不支持。请改用 style.textAlign。 Set or return the horizontal alignment of the content within the tbody element. |
ch |
HTML5 中不支持。 Set or return the alignment character within the tbody element. |
chOff |
HTML5 中不支持。 Set or return the horizontal offset of the ch attribute. |
vAlign |
HTML5 中不支持。请改用 style.verticalAlign。 设置或返回 thead 元素中内容的垂直对齐方式。 |