Latest web development tutorials

HTML tbody charoff property

HTML tbody tag Reference Manual HTML <tbody> tag

Examples

. "" The <tbody> element in the content and character to the right-aligned position of the two characters:

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

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Note: Almost all of the major browsers do not support charoff property.


Definition and Usage

HTML5 does not support the <tbody> charoff property.

Attribute specifies charoff <tbody> element content aligned relative to the offset specified by the char attribute characters.

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


grammar

<tbody charoff="number">

Property Value

描述
number 规定对齐方式。
正数规定向字符的右边对齐。
负数规定向字符的左边对齐。


HTML tbody tag Reference Manual HTML <tbody> tag