HTML DOM THead Object
DIE Hoofvoorwerp
Die THead-objek verteenwoordig 'n HTML <thead>-element.
Toegang tot 'n HOOF-objek
Jy kan toegang tot 'n <thead>-element kry deur getElementById():
Voorbeeld
var x = document.getElementById("myTHead");
Skep 'n HOOF-objek
Jy kan 'n <thead> element skep deur die document.createElement() metode te gebruik:
Voorbeeld
var x = document.createElement("THEAD");
THead Object Eienskappe
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 |
Standaard eiendomme en geleenthede
Die THead-objek ondersteun ook die standaard eienskappe en gebeurtenisse .
Verwante bladsye
HTML-tutoriaal: HTML-tabelle
HTML verwysing: HTML <thead> tag