HTML DOM TBody Object
TBody Voorwerp
Die TBody-objek verteenwoordig 'n HTML <tbody>-element.
Toegang tot 'n TBody-objek
Jy kan toegang tot 'n <tbody>-element kry deur getElementById():
Voorbeeld
var x = document.getElementById("myTBody");
Skep 'n TBody Object
Jy kan 'n <tbody> element skep deur die document.createElement() metode te gebruik:
Voorbeeld
var x = document.createElement("TBODY");
TBody Object Properties
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 |
Standaard eiendomme en geleenthede
Die TBody-objek ondersteun ook die standaard eienskappe en gebeurtenisse .
Verwante bladsye
HTML-tutoriaal: HTML-tabelle
HTML-verwysing: HTML <tbody>-merker