Obiekt HTML DOM Tbody
Obiekt Tbody
Obiekt Tbody reprezentuje element HTML <tbody>.
Uzyskaj dostęp do obiektu Tbody
Możesz uzyskać dostęp do elementu <tbody> za pomocą getElementById():
Przykład
var x = document.getElementById("myTBody");
Utwórz obiekt Tbody
Możesz utworzyć element <tbody> za pomocą metody document.createElement():
Przykład
var x = document.createElement("TBODY");
Właściwości obiektu Tbody
Property | Description |
---|---|
align | Not supported in HTML5. Use style.textAlign instead. Sets or returns the horizontal alignment of the content inside the tbody element |
ch | Not supported in HTML5. Sets or returns an alignment character inside the tbody element |
chOff | Not supported in HTML5. Sets or returns the horizontal offset of the ch property |
vAlign | Not supported in HTML5. Use style.verticalAlign instead. Sets or returns the vertical alignment of the content within a thead element |
Standardowe właściwości i zdarzenia
Obiekt Tbody obsługuje również standardowe właściwości i zdarzenia .
Powiązane strony
Samouczek HTML: Tabele HTML
Odniesienie HTML: tag HTML <tbody>