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


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 application’s default thickness.

Attribute Values

In Element

<table> Table (XHTML table model)
Value Meaning
Number Thickness, measured in pixels, of the border around the table. Although the DTD can enforce only that this attribute contain any text, numbers, or special characters, validation beyond the DTD can constrain this value to a counting number (positive integer).
Restriction: This attribute may be specified if the element is used.