HTML DOM Tbody- object
TBody-object
Het TBody-object vertegenwoordigt een HTML <tbody>-element.
Toegang tot een Tbody-object
U kunt toegang krijgen tot een <tbody>-element met getElementById():
Voorbeeld
var x = document.getElementById("myTBody");
Een TBody-object maken
U kunt een <tbody>-element maken door de methode document.createElement() te gebruiken:
Voorbeeld
var x = document.createElement("TBODY");
Eigenschappen van TBody-object
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 eigenschappen en evenementen
Het TBody - object ondersteunt ook de standaard eigenschappen en gebeurtenissen .
Gerelateerde pagina's
HTML-zelfstudie: HTML-tabellen
HTML-referentie: HTML <tbody>-tag