HTML CSS Reference/HTML Attributes Reference/frame
"frame" Example
<HTML>
<BODY>
<table id="myTable" border="" frame="">
<thead>
<tr>
<td>Header</td>
<td>Header</td>
<td>Header</td>
<td>Header</td>
<td>Header</td>
<td>Header</td>
</tr>
</thead>
<tr>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
<td>Cell</td>
</tr>
<tfoot>
<tr>
<td>Footer</td>
<td>Footer</td>
<td>Footer</td>
<td>Footer</td>
<td>Footer</td>
<td>Footer</td>
</tr>
</tfoot>
</table>
<br>
<button onclick="myTable.frame="void"">VOID</button>
<button onclick="myTable.frame="above"">ABOVE</button>
<button onclick="myTable.frame="below"">BELOW</button>
<button onclick="myTable.frame="border"">BORDER</button>
<button onclick="myTable.frame="hsides"">HSIDES</button>
<button onclick="myTable.frame="lhs"">LHS</button>
<button onclick="myTable.frame="rhs"">RHS</button>
<button onclick="myTable.frame="vsides"">VSIDES</button>
<button onclick="myTable.frame="box"">BOX</button>
</BODY>
</HTML>
frame is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<table> |
+----------------+--------------------------------------------------------------+
"frame" Syntax and Note
Note:
This attribute determines how to display a table"s border frame.
Possible values include
void (default),
above,
below,
border,
box,
hsides,
lhs,
rhs,
vsides.
Syntax:
<table frame="value"> . . . </table>