Contact Number
Email Address

thead

thead

Definition and Usage

  The HTML <thead> tag is used in adding a header to a table. The thead tag is used in conjunction with the tbody tag and the tfoot tag in determining each part of the table (header, footer, body). The HTML <thead> element defines a set of rows defining the head of the columns of the table. Browsers can use this information to enable scrolling of the table body independently of the header and footer - particuarly useful for large tables. Also, when printing a large table that spans multiple pages, this information can enable the table header and footer to be printed at the top and bottom of each page.

Syntax

<table> <thead> <tr> <th>Month</th> <th>Savings</th> </tr> </thead>