Tables
HTML <thead> element
Groups the header rows of a table. It does not by itself turn td cells into header cells; use th for those. The header row group may contain one or several rows. Use th for actual headers; thead alone does not establish all header relationships. It accepts global HTML attributes; individual global features may be inapplicable or restricted.
Formal Syntax & Structure
html syntaxhtml
<thead> <tr> <th>Heading</th> </tr></thead>Return Value
HTMLTableSectionElement
Content model: tr and script-supporting elements.
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>HTML example</title> </head> <body> <table> <thead> <tr> <th scope="col">Item</th> </tr> </thead> <tbody> <tr> <td>Book</td> </tr> </tbody> </table> </body></html>