HTML element: <thead>
The <thead> element defines a table header. The <thead> element must contain at least one <tr> element.
Considerations
If you use the <thead> element within a <table> element, you must also use the <tbody> and <tfoot> elements as well.
Common attributes
The <thead> element supports the class, dir, id, lang, style, and title attributes.
For more information, see Common attributes.
Event attributes
The <thead> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.
For more information, see HTML event attributes.
Parent topic: HTML elements