HTML <thead> tag

Html <thead> tag : Definition

HTML <thead> used to group the header content in an HTML table.

• The thead tag defines the association of tbody tag and the tfoot tag in indicating each part of the table (header, footer, body).

HTML table tag is used to display data in tabular form (row * column).

The HTML tables are created using the <table> tag in which the <tr> tag is used to create table row and <td> tag is used to create data cells.

• The elements under <td> are regular and left aligned by default.

Html <thead> tag example

Output:


HTML thead, tbody, and tfoot elements

 
Stodent Degree
Rony B.E/ B.Tech
Johny Phd
Prayag M.Tech