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="character">
Attribute Values:
- character: It is used to specify the character to the align the content.
Example:
<!DOCTYPE html> <html> <head> <title>thead char Attribute</title> <style> h1 { color:green; } thead { color:blue; } table, tbody, td { border: 1px solid black; border-collapse: collapse; } </style> </head> <body> <center> <h1>GeeksforGeeks</h1> <h2> HTML thead char Attribute</h2> <table> <!-- thead tag starts from here --> <thead align="char" char="M"> <tr> <th>Name</th> <th>User Id</th> </tr> </thead> <!-- thead tag ends here --> <tbody> <tr> <td>Ram</td> <td>@ram_b</td> </tr> <tr> <td>Shashank</td> <td>@shashankla</td> </tr> </tbody> </table> </center> </body> </html> |
Output :
Supported Browsers: The <thead> char Attribute is not supported by any major browsers.


