Name
<table>
Synopsis
<table> ... </table>
Define a table.
Attributes
-
align
=position
Align the table either
left
orright
with 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
n
pixels 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
n
pixels of padding around each cell’s contents.-
cellspacing
=n
Place
n
pixels 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.
void
removes outer borders;box
andborder
displays all.hsides
draws horizontal sides;vsides
draws vertical sides.lhs
draws left side;rhs
right 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 ...
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.