border

Border (Frame) Around a Table (XHTML table model)

Definition

See documentation for the HTML 4.0 (XHTML) table model.

Specifies the thickness, in pixels, of the border to draw around the table. A value of “0” indicates that the table has no border. Supplying the border attribute without specifying a value indicates that the table has a border of the default thickness.

Attribute Values

In Element

<table> Table (XHTML table model)
Value Meaning
An integer The number of pixels needed to create the desired thickness of the border.
Restriction: This attribute may be specified if the element is used.