English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag Reference

HTML: <tfoot> char Attribute

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.

 HTML <tfoot> tag

Online Example

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 ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

Almost all mainstream browsers do not support the char attribute.

Definition and Usage

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.

Syntax

<tfoot char="character">

Attribute Value

ValueDescription
characterSpecifies the character to align the content with.
 HTML <tfoot> tag