Creates an empty thead element in the table.
dhtml语法
othead = table.createthead()
return value
returnsthe thead element object if successful, or null otherwise.
remarks
if a thead already exists, createthead returns the existing element. otherwise, it returns a pointer to the element created.
DHTML代码范例
This example uses the createTHead method to create a table header.
myTHead = document.all.myTable.createTHead()
是否符合公共标准
This method is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
更多语法参考
createcaption, createtfoot, deletecaption, deletetfoot, deleteTHead