Previous Slide


Table Cell Padding

Next Slide

  • THE "CELLPADDING" ATTRIBUTE CAN BE USED TO CONTROL THE AMOUNT OF SPACE BETWEEN A CELL'S BORDER AND ITS CONTENTS.

<TABLE BORDER=3 CELLPADDING=5>
<TR>
<TH>TAG</TH> <TH>TYPE</TH>
<TR>
<TD>TITLE</TD> <TD>HEAD</TD>
<TR>
<TD>P</TD> <TD>BLOCK</TD>
</TABLE>	

image

TAG

TYPE
TITLE HEAD
P BLOCK



The Web:
Technologies and
Techniques


Links to other course pages:


Williams College
Department of Computer Science
This page is part of a section of lecture slides related to " HTML tables " within the topic "HTML II". Other slides within this section and other sections of slides for the topic "HTML II" can be accessed using the links below.
  • TEXT
  • Text Style Tags
  • Getting Physical...
  • Text That Isn't Text
  • List Tags
  • List Elements
  • Ordered and Unordered Lists
  • Ordered and Unordered Lists (cont.)
  • Definition Lists
  • HTML tables
  • Tables
  • Table Borders and Headers
  • Table Cell Spacing
  • Table Cell Padding
  • Irregular Table Cells
  • Table Cell Alignment
  • Table Width and Height Attributes