Oggetto THead DOM HTML

  • Pagina precedente <th>
  • Pagina successiva <tr>

THead object

The THead object represents the HTML <thead> element.

Access THead object

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

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

Try it yourself

Create THead object

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

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

Try it yourself

THead object properties

Proprietà Description
align

HTML5 does not support.Si prega di utilizzare style.textAlign.

Sets or returns the horizontal alignment method 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.Si prega di utilizzare style.verticalAlign.

Imposta o restituisci il modo di allineamento verticale del contenuto dell'elemento thead.

Proprietà standard e eventi

L'oggetto THead supporta gli standardProprietàeEventi.

Pagine correlate

Corso HTML:Tabella HTML

Manuale di riferimento HTML:Etichetta <thead> HTML

  • Pagina precedente <th>
  • Pagina successiva <tr>