HTML 5 TutorialsHtml5 What is
In the html5 <thead> tag is used to the group date at html table header place. Mostly we will use <tbody> and <tfoot> tag inside of <thead> tag. In the <tbody> tag is used to group content header place. In the <tfoot> tag is used to group content footer place.in the one point,the html5 did not allow <td> tag inside of <thead> tag.
In the above example first define <tfoot> tag and second define <thead> tag but in the out put first is displaying header part and second is displaying footer part.