HTML | <col> char Attribute Last Updated : 31 Oct, 2019 Comments Improve Suggest changes Like Article Like Report 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 Values: character: It specifies the alignment of content to a character. Note: It is not supported by HTML 5. CSS property is used instead of this attribute. Example: html <!DOCTYPE html> <html> <head> <title> HTML col char Attribute </title> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML col char Attribute</h2> <table border="1"> <caption>Author Details</caption> <col width="150" align="char" char="." > <col width="80" align="char" char="."> <col width="120" align="char" char="."> <tr> <th>NAME</th> <th>AGE</th> <th>BRANCH</th> </tr> <tr> <td>BITTU</td> <td>22</td> <td>CSE</td> </tr> <tr> <td>RAM</td> <td>21</td> <td>ECE</td> </tr> </table> </body> </html> Output: Supported Browsers: It is not supported by any major browsers. Comment More infoAdvertise with us Next Article HTML | <col> char Attribute M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML | <col> charoff Attribute The HTML <col> charoff attribute is used to set 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 <col> element. Syntax: <col charoff="number"> Attribut 1 min read HTML <colgroup> char Attribute The HTML <colgroup> char Attribute is used to set the alignment of the content in a column group in a character. It can only be used if the align attribute is set to "character". The default worth of char is that the decimal-point character of the page language.Syntax: <colgroup char="chara 1 min read HTML | <td> char Attribute 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 Val 1 min read 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 <colgroup> charoff Attribute The HTML <colgroup> element's charoff attribute specifies the offset (in characters) for alignment when the char attribute is used. It is applied to control character-based alignment in tables. This attribute is now deprecated in HTML5. Syntax<colgroup charoff="number">Attribute Valuesnu 2 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 | <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 <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 <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 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 Like