English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The usage method of the <tr> char attribute, online instance demonstration of how to use the <tr> char attribute, browser compatibility, syntax definition, and detailed information about its attribute values.
Align the content of the first and second rows with the "." character:
<table style="width:100%" border="1"> <tr align="char" char="."> <td>2018</td> <td>$15320.00</td> </tr> <tr align="char" char="."> <td>2019</td> <td>$18320.00</td> </tr> </table>Test and see ‹/›
IEFirefoxOperaChromeSafari
Almost all mainstream browsers do not support the char attribute.
HTML5 The <tr> char attribute is not supported.
The char attribute specifies the alignment of the content within a table row relative to a character.
The char attribute can only be used when the align attribute is set to "char".
The default value of the char attribute is the decimal point character of the current page language.
<tr char="character">
Value | Description |
---|---|
character | Specifies the character to align the content with. |