Objeto HTML DOM THead
Objeto THead
El objeto THead representa un elemento HTML <thead>.
Acceder a un objeto THead
Puede acceder a un elemento <thead> usando getElementById():
Ejemplo
var x = document.getElementById("myTHead");
Crear un objeto THead
Puede crear un elemento <thead> utilizando el método document.createElement():
Ejemplo
var x = document.createElement("THEAD");
Propiedades del 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 |
Propiedades y eventos estándar
El objeto THead también admite las propiedades y eventos estándar .
páginas relacionadas
Tutorial de HTML: tablas HTML
Referencia HTML: etiqueta HTML <thead>