Objeto HTML DOM TBody
Objeto TBody
El objeto TBody representa un elemento HTML <tbody>.
Acceder a un objeto TBody
Puede acceder a un elemento <tbody> utilizando getElementById():
Ejemplo
var x = document.getElementById("myTBody");
Crear un objeto TBody
Puede crear un elemento <tbody> utilizando el método document.createElement():
Ejemplo
var x = document.createElement("TBODY");
Propiedades del objeto 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 |
Propiedades y eventos estándar
El objeto TBody también admite las propiedades y eventos estándar .
páginas relacionadas
Tutorial de HTML: tablas HTML
Referencia HTML: etiqueta HTML <tbody>