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

HTML th char attribute

HTML char attribute

HTML th Tag Reference HTML Tag

Example

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

 

   

   

 

 

   

   

 

 

   

   

 

Month Savings
January $100.00
February $10.00

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all major browsers do not support the char attribute.


Definition and Usage

HTML5 does not support the char attribute.

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

The char attribute can only be used when 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

HTML tag