In this discussion, We will introduce about the use of <thead> tag in html5. This tag is used to specify the group of header of the table body. In the table we must have zero or more <tr> tag inside the <thead> tag. The <thead> tag is used in conjunction with <tbody>, <tfoot> in the <table> tag. The <thead> tag must have one or more <th> tag within <tr> tag which is nested in <thead>. The <thead> tag is the child of <table> tag and used after the <caption>, <colgroup> tag. This tag must have opening and closing tags.
the syntax of the <thead> tag is as:
|<thead>One or more tr, th tag</thead>|
This tag don't have any specific attribute.
Difference between html4.01 and html5.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.