The THead object represents an HTML <thead> element.
You can access a <thead> element by using getElementById():
You can create a <thead> element by using the document.createElement() method:
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 |
The THead object also supports the standard properties and events.
HTML tutorial: HTML Tables
HTML reference: HTML <thead> tag
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!