HTML <td> char attribute
HTML <td> tag
Example
In the example below, the content of the "Savings" data cell should align to the "." character:
<table border="1">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td align="char" char=".">$100.00</td>
</tr>
<tr>
<td>February</td>
<td align="char" char=".">$10.00</td>
</tr>
</table> |
Try it yourself!
|
Definition and Usage
The char attribute specifies the alignment of the content in a
cell to a character.
The char attribute can only be used if the align attribute is set to "char".
The default value of char is the decimal-point character of the page language.
Browser Support

Note: The char attribute is not supported by any of the major
browsers.
Syntax
Attribute Values
Value |
Description |
character |
Specifies the character to align the content to |
HTML <td> tag
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|