Objeto HTML DOM THead
O objeto principal
O objeto THead representa um elemento HTML <thead>.
Acesse um objeto THead
Você pode acessar um elemento <thead> usando getElementById():
Exemplo
var x = document.getElementById("myTHead");
Criar um objeto THead
Você pode criar um elemento <thead> usando o método document.createElement():
Exemplo
var x = document.createElement("THEAD");
Propriedades do objeto THead
Property | Description |
---|---|
align | Not supported in HTML5. Use style.textAlign instead. Sets or returns the horizontal alignment of the content inside the thead element |
ch | Not supported in HTML5. Sets or returns an alignment character inside the thead 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 THead também suporta as propriedades e eventos padrão .
Páginas relacionadas
Tutorial HTML: Tabelas HTML
Referência HTML: tag HTML <thead>