English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The char attribute specifies the alignment of the content inside the <tfoot> element with the character. The char attribute can only be used when the align attribute is set to "char". The default value of char is the decimal point character of the current language.
Align the content inside the <tfoot> element with the character "."
<table style="width:100%;"border="1"> <tr> <th>Programming Language Books</th> <th>Price</th> </tr> <tr> <td align="right">PHP Basics Tutorial</td> <td>$30</td> </tr> <tr> <td align="left">JAVA Programming Thoughts</td> <td>$80</td> </tr> <tfoot align="char" char="."> <tr> <td>Total</td> <td>$110</td> </tr> </tfoot> </table>Test and see ‹/›
IEFirefoxOperaChromeSafari
Almost all mainstream browsers do not support the char attribute.
HTML5 The <tfoot> char attribute is not supported.
The char attribute specifies the alignment of the content within the <tfoot> element with the character.
The char attribute can only be used when the align attribute is set to 'char'.
The default value of char is the decimal point character of the current language.
<tfoot char="character">
Value | Description |
---|---|
character | Specifies the character to align the content with. |