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

HTML td charoff attribute

HTML charoff attribute

HTML td Tag Reference HTML Tag

Example

Align the content of the "Savings" data cell with the "." character at a position two characters to the right:

Month Savings
January $100.00
February $10.00

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all major browsers do not support the charoff attribute.


Definition and Usage

HTML5 does not support the charoff attribute.

The charoff attribute sets the alignment offset of the content 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