Easy Tutorial
❮ Att Input Form Att A Media ❯

HTML <th> charoff Attribute

HTML <th> Tag

Example

Align the content of the first header cell to the right of the "M" character by two character positions:


Browser Support

Almost all major browsers do not support the charoff attribute.


Definition and Usage

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 is set.


Syntax

Attribute Values

Value Description
number Specifies the alignment. <br>A positive number specifies alignment to the right of the character. <br>A negative number specifies alignment to the left of the character.

❮ Att Input Form Att A Media ❯