<table frame="value"> 控制表格**外框**顯示哪幾邊(HTML4 屬性,HTML5 已棄用,建議改用 CSS border-top/bottom/left/right)。
| 值 | 顯示邊框 |
|---|---|
void | 無邊框 |
above | 上 |
below | 下 |
hsides | 上+下 |
vsides | 左+右 |
lhs | 左 |
rhs | 右 |
box / border | 四邊(預設) |
<table border="3" width="400" height="100" bordercolor="#336699"
cellspacing="10" cellpadding="25" align="center" frame="vsides">
...
</table>
CSS 替代:table { border-left: 3px solid #336699; border-right: 3px solid #336699; border-top: none; border-bottom: none; }。