Code and Output for tfoot:
Code:
<!DOCTYPE html>
<html>
<head>
<title>HTML Example</title>
</head>
<body>
<h1>App Genesis soft solutions pvt ltd</h1>
<h1>The table element</h1>
<table>
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Sum</th>
<td>$180</th>
</tr>
</tfoot>
</table>
</body>
</html>
Output:
App Genesis soft solutions pvt ltd
The table element
| Month |
Savings |
| January |
$100 |
| February |
$80 |
| Sum
| $180
|