HTML slt;tbody sgt; char property

HTML tbody char attribute HTML slt;tbody.gt; tags

The char property specifies which character the elements within the label should be aligned with, refer to the following example:

Align the contents of the 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 out . . .

Browser support

HTML tbody char attribute HTML tbody char attribute HTML tbody char attribute HTML tbody char attribute HTML tbody char attribute

Note: Char properties are not supported in almost all major browsers.


Definitions and usages

HTML5 does not support the char property.

The char property specifies how the content in the element is aligned relative to a character.

The char property can only be used if the align property is set to "char".

The default value of the char property is the number of points in the current page language.


Grammar

<tbody char=" character ">

The property value

value describe
character Specifies the characters that will be aligned with it.


HTML tbody char attribute HTML slt;tbody.gt; tags