HTML <tbody> charAttributes

HTML tbody 标签参考手册HTML <tbody> Tag

Examples

Align the content in the <tbody> element with the character ".":

<table border="1" width="100%">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tbody align="char" char=".">
<tr>
<td>January</td>
<td>$100.00</td>
</tr>
<tr>
<td>February</td>
<td>$80.00</td>
</tr>
</tbody>
</table>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Note:Almost all major browsers do not support the char attribute.


Definition and Usage

HTML5 does not support the <tbody> char attribute.

The char attribute specifies the alignment of the content in the <tbody> 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 current page language.


Syntax

<tbody char="character">

Attribute Values

Value Description
character Specifies the character to align the content with.


HTML tbody 标签参考手册HTML <tbody> Tag Other Extensions