Easy Tutorial
❮ Att Video Muted Att Body Text ❯

HTML <table> frame Attribute

HTML <table> Tag

Example

Display only the outer border of the table:


Browser Support

Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the frame attribute.

Note: Internet Explorer 8 and earlier versions do not support the frame attribute for the <table> tag.


Definition and Usage

The frame attribute specifies which parts of the outer table border are visible.

Tip: For practical reasons, it is better not to specify the frame attribute, but instead use CSS to add borders (border styles).


Syntax

Attribute Values

Value Description
void No outer border is displayed.
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 border on all four sides.
border Displays the outer border on all four sides.

❮ Att Video Muted Att Body Text ❯