VOOZH about

URL: https://www.geeksforgeeks.org/html/html-tfoot-char-attribute/

⇱ HTML tfoot char Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML tfoot char Attribute

Last Updated : 23 Jul, 2025

The HTML <tfoot> char Attribute is an attribute value used with the <tfoot> align Attribute, that defines content alignment in a column to a character. The default value of the char is the dot sign(.). If align attribute is not set to char then this will not work at all. While aligning the numbers or any monetary values, then this period (.) is included.

Syntax:

<tfoot align="char" char=".">
 <tr>...</tr>
</tfoot>

Example 1: The following example demonstrates the use of the char attribute with an HTML <tfoot> tag.

Output:

👁 Image
 

Example 2: The following example displays that using <tfoot> before and after the <tbody> does not affect the table layout in any way.

Output:  

👁 Image
 

Supported Browsers:

  • Edge
  • this attribute is a deprecated attribute not supported in any browsers.
Comment
Article Tags: