Idocs Guide to HTML

<TABLE ...>

Usage Recommendation
thumbs up use it

  • BORDER: size of border around the table
  • CELLPADDING: space between the edge of a cell and the contents
  • CELLSPACING: space between cells
  • WIDTH: width of the table as a whole
  • BGCOLOR: color of the background
  • BACKGROUND: picture to use as background
  • ALIGN: alignment of table to surrounding text
  • HSPACE: horizontal space between table and surrounding text
 
  • VSPACE: vertical space between table and surrounding text
  • HEIGHT: height of the table as a whole
  • FRAME: parts of outside border that are visible
  • RULES: if there should be internal borders
  • BORDERCOLOR: color of border around the table
  • BORDERCOLORLIGHT: color of "light" part of border around the table
  • BORDERCOLORDARK: color of "dark" part of border around the table
  • SUMMARY: Summary of the purpose of the table

Keeping all the attributes for <TABLE ...> can get confusing, so here's a picture illustrating some of the most common <TABLE ...> attributes.

illustration of a table
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.