<tfoot> HTML Tag
In this article we will discuss about how to use tfoot Tag in HTML.
The HTML <tfoot>
tag is used for adding a footer to a table. The content of the tfoot appears at the bottom of the table and must appear before the tbody
HTML Code:
<html>
<head>
<title>This is my first web page</title>
</head>
<body>
<table border="1">
<tfoot>
<tr>
<td>
ft1
</td>
<td>
ft2
</td>
<td>
ft3
</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>
Ramesh
</td>
<td>
Mohan
</td>
<td>
Ram
</td>
</tr>
<tr>
<td>
Sita
</td>
<td>
Gita
</td>
<td>
Rita
</td>
</tr>
</tbody>
</table>
</body>
</html>
|
Output:
Ask Your Question