HTML char attribute
Example
In the HTML table below, the content of the second column is aligned to the character ".":
| Month | Savings |
|---|---|
| January | $100.00 |
| February | $10.00 |
Try it »
Browser support





Note: No major browser supports the char attribute.
Definition and Usage
HTML5 no longer supports the char attribute.
The char attribute specifies the alignment of the content associated with the col element 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 page's language.
HTML Tag