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

HTML tfoot align attribute

HTML align attribute

HTML tfoot Tag Reference HTML Tag

Example

Center-align the content in the element:

   

     

     

   

   

     

     

   

   

     

     

   

 

   

     

     

   

 

 
Month Savings
January $100
February $80
Sum $180

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the align attribute.

**Note:** IE cannot handle the "justify" value correctly; IE processes it as centered.

**Note:** Almost no browsers can handle the "char" value correctly.


Definition and Usage

HTML5 does not support the align attribute. Please use CSS instead.

The align attribute specifies the horizontal alignment of the content in the element.


Syntax

Attribute values

Value Description
left Align the content to the left (default).
right Align the content to the right.
center Center-align content.
justify Stretch the lines so that each line has an equal width (as in newspapers and magazines).
char Align the content to a specified character.

HTML tfoot Tag Reference HTML tag