HTML: Tag - TechOnTheNet

Attributes

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

Attribute Description HTML Compatibility
align Horizontal alignment of text in each cell within the column. It can be one of the following values: left, center, right, justify, char Deprecated in HTML 4.01, Obsolete in HTML5, use CSS
bgcolor Background color of each cell within the column Deprecated in HTML 4.01, Obsolete in HTML5, use CSS
char Set the character to align the cells in a column Deprecated in HTML 4.01, Obsolete in HTML5
charoff Number of characters to offset column data from the alignment characters (in char attribute) Deprecated in HTML 4.01, Obsolete in HTML5
span Integer value indicating the number of columns that the <col> tag spans HTML 4.01, HTML5
valign Vertical alignment of text of each cell within the column. It can be one of the following values: baseline, bottom, middle, top Deprecated in HTML 4.01, Obsolete in HTML5, use CSS
width Default width for each column. The width can be expressed in pixels, a percentage value or relative width. HTML 4.01, Obsolete in HTML5

Từ khóa » Html Col