HTML char attribute
Example
Align the content of the "Savings" data cell with the "." character:
| Month | Savings |
|---|---|
| January | $100.00 |
| February | $10.00 |
Try it »
Browser support





Almost all major browsers do not support the char attribute.
Definition and Usage
HTML5 does not support the char attribute.
The char attribute specifies the alignment of the content in a cell relative to a certain 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.
HTML Tag