Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tbody charoff attribute

HTML charoff attribute

HTML tbody Tag Reference HTML Tag

Example

Align the content in the element with the character "." at a position two characters to the right:

Month Savings
January $100.00
February $80.00

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

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


Definition and Usage

HTML5 does not support the charoff attribute.

The charoff attribute specifies the alignment offset of the content in the element relative to the character specified by the char attribute.

The charoff attribute can only be used when the align attribute is set to "char" and the char attribute has been set.


Syntax

HTML tag