Objeto THead do HTML DOM

  • Página anterior <th>
  • Próxima página <tr>

THead object

The THead object represents the HTML <thead> element.

Access THead object

You can use getElementById() to access the <thead> element:

var x = document.getElementById("myTHead");

Try it yourself

Create THead object

You can use the document.createElement() method to create a <thead> element:

var x = document.createElement("THEAD");

Try it yourself

THead object properties

Atributos Description
align

HTML5 does not support.Por favor, use outra opção. style.textAlign

Sets or returns the horizontal alignment style of the content within the thead element.

ch

HTML5 does not support.

Sets or returns the alignment character within the thead element.

chOff

HTML5 does not support.

Sets or returns the horizontal offset of the ch attribute.

vAlign

HTML5 does not support.Por favor, use outra opção. style.verticalAlign

Define ou retorna o modo de alinhamento vertical do conteúdo do elemento thead.

Propriedades e eventos de padrão

O objeto THead suporta padrõesAtributoseEventos

Páginas relacionadas

Tutorial HTML:Tabela HTML

Manual de referência HTML:Tag <thead> do HTML

  • Página anterior <th>
  • Próxima página <tr>