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

HTML col char attribute

HTML char attribute

HTML col Tag Reference HTML Tag

Example

In the HTML table below, the content of the second column is aligned to the character ".":

 

 

 

   

   

 

 

   

   

 

 

   

   

 

Month Savings
January $100.00
February $10.00

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Note: No major browser supports the char attribute.


Definition and Usage

HTML5 no longer supports the char attribute.

The char attribute specifies the alignment of the content associated with the col element relative to a 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 page's language.


Syntax

HTML tag