Objeto HTML DOM TBody
Objeto TBody
O objeto TBody representa um elemento HTML <tbody>.
Acesse um objeto TBody
Você pode acessar um elemento <tbody> usando getElementById():
Exemplo
var x = document.getElementById("myTBody");
Criar um objeto TBody
Você pode criar um elemento <tbody> usando o método document.createElement():
Exemplo
var x = document.createElement("TBODY");
Propriedades do 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 |
Propriedades e eventos padrão
O objeto TBody também suporta as propriedades e eventos padrão .
Páginas relacionadas
Tutorial HTML: Tabelas HTML
Referência HTML: tag HTML <tbody>