HTML | <td> char Attribute Last Updated : 20 Mar, 2023 Comments Improve Suggest changes Like Article Like Report The HTML <td> char Attribute is used to specify the alignment to the character of content in a table cell. This attribute only contains char align attribute. Its default value is a decimal point for page language. It is not supported by HTML 5. Syntax: <td char="character"> Attribute Values: character: It is used to specify the character to align the content. Example: html <!DOCTYPE html> <html> <head> <title>HTML td char Attribute</title> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML td char Attribute</h2> <table width="500" border="1"> <tr> <th>Name</th> <th>Expenses</th> </tr> <tr> <td>BITTU</td> <td align="char" char="."> 2500.00 </td> </tr> <tr> <td>RAKESH</td> <td align="char" char="."> 1400.00 </td> </tr> </table> </body> </html> Output: Supported Browsers: It is not supported by major browsers. Comment More infoAdvertise with us Next Article HTML | <td> char Attribute J jit_t Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML <th> char Attribute The HTML <th> char attribute is used to specify the alignment to the character of content in a table header cell. It only contains the char align attribute. Its default value is a decimal point for page language. Note: It is not supported by HTML5. Syntax: <th char="character"> Attribute 1 min read HTML | <thead> char Attribute The HTML thead char Attribute is used to specify the alignment to the character of content in a thead Element. This attribute can only be used if the align attribute is set to "char". Its default value is a decimal point for page language. It is not supported by HTML 5. Syntax: <thead char="chara 1 min read HTML <td> charoff Attribute The HTML <td> charoff attribute specifies the offset for aligning text around a specified character within a table cell. It is used with the char attribute and is now considered obsolete in modern HTML. This attribute can only be used in the char attribute and the align attribute is specified 2 min read HTML | <tr> charoff Attribute The HTML tr charoff Attribute is used to sets the number of characters that aligned the characters specified by the char Attribute. This attribute can only be used in the char attribute and align attribute is specified in the tr Element. Syntax: <tr charoff="number"> Attribute Values: number: 1 min read HTML <th> charoff Attribute The HTML th charoff Attribute is used to sets the number of characters that aligned the characters specified by the char Attribute. This attribute can only be used in the char attribute and align attribute is specified in the th Element. Note: The th charoff attribute is not supported by HTML 5. Syn 1 min read Like