In this discussion, We will introduce about the use of <tfoot> tag in html5. This tag is used to specify the group of footer content of the table body. In the table we must have zero or more <tr> tag inside the <tfoot> tag. The <tfoot> tag is used in conjunction with <tbody>, <thead> in the <table> tag. The <tfoot> tag must have one or more <td> tag within <tr> tag which is nested in <tfoot>. The <tfoot> tag is the child of <table> tag and used after the <caption>, <colgroup>, <thead> tag and before the <tbody> tag. This tag must have opening and closing tags.
the syntax of the <tfoot> tag is as:
|<tfoot>One or more tr, td tag</tfoot>|
This tag don't have any specific attribute.
<title>Example of tfoot tag</title>
<body>Example for tfoot tag.<p>
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.