HTML slt;tr> char property

HTML tr char property HTML and tr;tags

The char property dictates which character the contents of a table line need to be aligned against, refer to the following example:

Align the contents of the second and third lines with the "." character:

<table border="1">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr align="char" char=".">
<td>January</td>
<td>$100.00</td>
</tr>
<tr align="char" char=".">
<td>February</td>
<td>$10.00</td>
</tr>
</table>

Try it out . . .

Browser support

HTML tr char property HTML tr char property HTML tr char property HTML tr char property HTML tr char property

Almost all major browsers do not support char properties.


Definitions and usages

HTML5 does not support the property of slt;tr> char.

The char property specifies how the contents of a table line are 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

<tr char=" character ">

The property value

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


HTML tr char property HTML and tr;tags