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 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 HTML | <thead> charoff Attribute The HTML <thead> 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 thead Element. Syntax: <thead charoff="number"> Attribute 2 min read HTML <meta> charset Attribute The HTML <meta> charset attribute specifies the character encoding for the HTML document. It ensures that the browser correctly interprets the characters and symbols on the webpage, commonly set as UTF-8 for universal character support across languages and symbols. Syntax<meta charset="char 2 min read HTML | <col> char Attribute The HTML <col> char attribute is used to set the alignment of the content in a column in a character. It can only be used if the align attribute is set to "character". The default value of char is the decimal-point character of the page language. Syntax: <col char="character"> Attribute 1 min read HTML | <td>colspan Attribute The HTML <td> colspan Attribute is used to specify the number of columns a table should span. Syntax: <td colspan="number"> Attribute Values: It contains the numeric value which specifies the number of columns a cell should span. Example: This Example illustrates the use of colspan attri 1 min read HTML <a> charset Attribute HTML <a> charset attribute specifies the character encoding for an external resource linked with the HTML anchor element. It ensures proper interpretation of text by defining the character set used in the linked resource.Note: It is not supported by HTML5.Syntax:<a charset="value">Attrib 1 min read Like