HTML: Tag - TechOnTheNet
Tag - TechOnTheNet

Attributes

In addition to the Global Attributes, the following is a list of attributes that are specific to the <table> tag:

Attribute Description HTML Compatibility
align Alignment of the table. It can be one of the following values: left, center, right Deprecated, use CSS
bgcolor Background color of the table Deprecated, use CSS
border Size of the frame surrounding table (in pixels) Deprecated, use CSS
cellpadding Space between the content of a cell and the border (in pixels) Deprecated, use CSS
cellspacing Size of the space between cells (in pixels) Deprecated, use CSS
frame Side of the table frame is displayed. It can be one of the following values: above, hsides, lhs, border, void, below, vsides, rhs, box Deprecated, use CSS
rules Lines that should be displayed. It can be one of the following values: none, groups, rows, columns, all Deprecated, use CSS
summary Alternative text displayed when table can not be displayed Deprecated, use CSS
width Width of the table Deprecated, use CSS