Basic HTML version of Foils prepared
11 May 1997
Foil 29 Formatting Tables
From
Introduction to HTML--ECS400 fall 97 ECS400 Senior Undergraduate Course --
Spring Semester 97
.
by
Nancy J. McCracken
*
1
An html table (within <table> and </table>) consists of a number of rows, each of which has a number of cells. Formatting with tables on a Web page provides a good way to place and align images and text.
2
Attributes for the table tag
CELLSPACING=value - the amount of space between individual cells
CELLPADDING=value - the amount of space between the border of a cell and the contents of the cell
BORDER to specify there should be a line around the table and inbetween the cells, or BORDER=value to give the width of the border.
WIDTH=value|percent - allows you to describe the desired width in pixels or as a percentage of the document width.
in Table To:
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Tue Aug 26 1997