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

HTML col charoff attribute

HTML charoff attribute

HTML col Tag Reference HTML Tag

Example

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

 

 

 

   

   

 

 

   

   

 

 

   

   

 

Month Savings
January $100.00
February $10.00

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Note: No major browser supports the charoff attribute.


Definition and Usage

HTML5 no longer supports the charoff attribute.

The charoff attribute specifies 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