Idocs Guide to HTML

Attribute for <TABLE ...>
BORDER = integer

illustration of BORDER attributeBORDER establishes the size of the border surrounding the table. The default value is 0, which is an invisible border. If you put in BORDER without a value, it defaults to 1.

Here are some examples of the table above using different border values:

<TABLE>

<TABLE BORDER=0>

<TABLE BORDER>

<TABLE BORDER=15>

peachescherries
walnutsalmonds
peachescherries
walnutsalmonds
peachescherries
walnutsalmonds
peachescherries
walnutsalmonds

Note that with a BORDER value of 0, the internal borders are invisible; with any value 1 and up, they are visible, but do not change size. (Internal border size is determined by CELLSPACING.)

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.