HTML <tfoot> charAttributes
Examples
Align the content in the <tfoot> element with the character ".":
<table border="1"
width="100%">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
<tfoot align="char" char=".">
<tr>
<td>Sum</td>
<td>$180.00</td>
</tr>
</tfoot>
</table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
<tfoot align="char" char=".">
<tr>
<td>Sum</td>
<td>$180.00</td>
</tr>
</tfoot>
</table>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
Almost all mainstream browsers do not support the char attribute.
Definition and Usage
HTML5 does not support the <tfoot> char attribute.
The char attribute specifies how the content in the <tfoot> element is aligned relative to a character.
The char attribute can only be used when the align attribute is set to "char".
The default value of the char attribute is the decimal point character of the current page language.
Syntax
<tfoot char="character">
Attribute Values
| Value | Description |
|---|---|
| character | Specifies the character to align the content with. |
HTML <tfoot> Tag Other Extensions