Latest web development tutorials

HTML td char attribute

HTML td tag Reference Manual HTML <td> tag

Examples

. "" Contents "Savings" data unit and character alignment:

<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"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all of the major browsers do not support char attributes.


Definition and Usage

HTML5 does not support the <td> char attributes.

char attribute specifies the cell contents relative alignment of a character.

Only if the align attribute set to "char" when to use char property.

The default value is the decimal point character char attribute the current page language.


grammar

<td char="character">

Property Value

描述
character 规定将内容与之对齐的字符。


HTML td tag Reference Manual HTML <td> tag