Objet HTML DOM THead
Objet Head
L'objet THead représente un élément HTML <thead>.
Accéder à un objet THead
Vous pouvez accéder à un élément <thead> en utilisant getElementById() :
Exemple
var x = document.getElementById("myTHead");
Créer un objet THead
Vous pouvez créer un élément <thead> en utilisant la méthode document.createElement() :
Exemple
var x = document.createElement("THEAD");
Propriétés de l'objet 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 |
Propriétés et événements standard
L'objet THead prend également en charge les propriétés et événements standard .
Pages connexes
Tutoriel HTML : Tableaux HTML
Référence HTML : balise HTML <thead>