HTML The Definitive Guide (154 page)

Read HTML The Definitive Guide Online

Authors: Chuck Musciano Bill Kennedy

BOOK: HTML The Definitive Guide
5.88Mb size Format: txt, pdf, ePub

superscript

...

Define a table

align=
position

Align the table either left or

right and flow the subsequent text

around the table

background=
url

Define a background image for the

Graphic

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

Graphic

table

bordercolordark=
color

Define the dark border-highlighting

Graphic

color for the entire table

bordercolorlight=
color

Define the light border-highlighting

Graphic

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

Graphic

table

Graphic

frame=
type

Define where table borders are

displayed, either border (default),

void, above, below, hsides,

lhs, rhs, vsides, or box

height=
n

Define the height of the table in pixels

Graphic

hspace=
n

Specify the horizontal space, in

Graphic

pixels, added at the left and right of

the table

nowrap

Suppress text wrapping in table cells

Graphic

rules=
edges

Determine where inner dividers are

drawn, either all (default), groups

(only around row and column

groups), rows, cols, or none.

summary=
string

Provide a summary description of this

table

valign=
position

Align text in the table to either the

Graphic

top, center, bottom, or

baseline

vspace=
n

Specify the vertical space, in pixels,

Graphic

added at the top and bottom of the

table

width=
n

Set the width of the table to
n
pixels or a percentage of the window width

...

Create a row group within a table

align=
position

Align the table body cell contents to

the left, center, or right

char=
char

Specify the body group cell alignment

character

charoff=
value

Specify the offset within the cells of

the alignment position

valign=
position

Vertically align the body group cells'

contents to the top, center,

bottom, or baseline of the cell

...

Define a table data cell

abbr=
string

Specify an abbreviation for the cell's

contents

align=
position

Align the cell contents to the left,

center, or right

axis=
string

Provide a name for a related group of

cells

background=
url

Define a background image for this

Graphic

cell

bgcolor=
color

Define the background color for the

cell

bordercolor=
color

Define the border color for the cell

Graphic

bordercolordark=
color

Define the dark border highlighting

Graphic

color for the cell

bordercolorlight=
color

Define the light border highlighting

Graphic

color for the cell

char=
char

Specify the cell alignment character

charoff=
value

Specify the offset of the alignment

position within the cell

colspan=
n

Have this cell straddle
n
adjacent columns

headers=
list

Provide a list of header cell names

associated with this cell

height=
n

Define the height, in pixels, for this

cell

nowrap

Do not automatically wrap and fill

text in this cell

rowspan=
n

Have this cell straddle n adjacent

rows

scope=
scope

Define the scope of this header cell,

either row, col, rowgroup, or

colgroup

valign=
position

Vertically align this cell's contents to

the top, center, bottom, or

baseline of the cell

width=
n

Set the width of this cell to
n
pixels or a percentage of the table width


Define a multiline text input area

within a

; content of the