Easy Tutorial
❮ Prop Style Perspective Prop Video Muted ❯

Table frame Attribute


Definition and Usage

The frame attribute sets or returns the outer border of the table.

Syntax

Setting the frame attribute:

Returning the frame attribute:

Value Description
void No outer border is displayed. Default.
above Displays the top outer border
below Displays the bottom outer border
hsides Displays the top and bottom outer borders
vsides Displays the left and right outer borders
lhs Displays the left outer border
rhs Displays the right outer border
box Displays the outer borders in all four directions
border Displays the outer borders on all four sides

Browser Support

All major browsers support the frame attribute.


Example

The following example sets two different borders for the table:

❮ Prop Style Perspective Prop Video Muted ❯