English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The <thead> char attribute specifies the alignment of the content within the <thead> element with a character. The char attribute can only be used when the align attribute is set to "char", and the default value of char is the decimal point character of the current language.
Align the content within the <thead> element with the character "M":
<table style="width:100%;" border="1"> <thead align="char" char="B"> <tr> <th height="50">Babi Doll Manufacturer</th> <th height="50">Babi Doll Type</th> </tr> </thead> <tr> <td>Barbie Princess</td> <td>6Joint Barbie Doll</td> </tr> <tr> <td>Barbie Princess</td> <td>12Joint Barbie Doll</td> </tr> </table>Test See ‹/›
IEFirefoxOperaChromeSafari
Almost all mainstream browsers do not support the char attribute.
HTML5 The <thead> char attribute is not supported.
The char attribute specifies the alignment of the content within the <thead> element with the character.
The char attribute can only be used when the align attribute is set to 'char'.
The default value of char is the decimal point character of the current language.
<thead char="character">
Value | Description |
---|---|
character | Specifies the character to align the content with. |