Easy Tutorial
❮ Att Table Align Att Tr Valign ❯

HTML <th> char Attribute

HTML <th> Tag

Example

Align the content of the first header cell with the character "M":


Browser Support

Almost all major browsers do not support the char attribute.


Definition and Usage

The char attribute specifies the alignment of the content within a header cell relative to a character.

The char attribute can only be used if the align attribute is set to "char".

The default value of the char attribute is the decimal point character of the current page language.


Syntax

Attribute Values

Value Description
character Specifies the character to align the content with.
❮ Att Table Align Att Tr Valign ❯