Name
<col>
Synopsis
<col>
Description
Set properties for a column (or columns) within a <colgroup>
of a table.
Attributes
-
align=value Specify alignment of text in the cells of a column. Value can be
center,left, orright.-
char=character Specify the alignment character for text in these cells.
-
charoff=value Set the offset within the cell at which the alignment character will be placed.
-
span=n Specify the number of columns to be affected by the
<col>settings.-
valign=position Set the vertical alignment of text within the column to either
top,middle, orbottom.-
width=n Set the width of the column, in pixels or as a percentage.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access