Name
<table>
Synopsis
<table> ... </table>
Define a table.
Attributes
-
align=position Align the table either
leftorrightwith the surrounding text flow.-
background=url Specify an image to be tiled in the background of the table.
-
bgcolor=color Define the background color for the entire table.
-
border=n Create a border
npixels wide.-
bordercolor=color Define the border color for the entire table.
-
bordercolordark=color Define the dark border-highlighting color for the entire table.
-
bordercolorlight=color Define the light border-highlighting color for the entire table.
-
cellpadding=n Place
npixels of padding around each cell’s contents.-
cellspacing=n Place
npixels of spacing between cells.-
cols=n Specify the number of columns in this table.
-
frame=[void|above|below|hsides|lhs|rhs|vsides|box|border] Specify which sides of a table’s outer border will be drawn.
voidremoves outer borders;boxandborderdisplays all.hsidesdraws horizontal sides;vsidesdraws vertical sides.lhsdraws left side;rhsright side.-
height=n Define the height of the table in pixels.
-
hspace=n Specify the horizontal space, in pixels, added at the left and right of the table.
-
nowrap Suppress text wrapping in table cells.
-
rules=[all|cols|groups|none|rows] Turn off (
none) or turn on rules between table cells bycols,rows,groups, orall.-
summary=string Provide a description to summarize this table.
-
vspace=n Specify the vertical space, in pixels, added at the top and bottom ...
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