frame attribute (table)
Sets which borders of a table element should be displayed.
The frame attribute has effect only on the border specified by the HTML border attribute.
JavaScript page for this attribute: frame. You can find other example(s) there. |
Possible values:
String that sets the visibility of border frames.
One of the following values:
Only the top border should be displayed. | |||||||
Only the bottom border should be displayed. | |||||||
Borders on all sides of the table frame should be displayed. | |||||||
Borders on all sides of the table frame should be displayed. | |||||||
Only the top and bottom borders should be displayed. | |||||||
Only the left border should be displayed. | |||||||
Only the right border should be displayed. | |||||||
Default. No border should be displayed. | |||||||
Only the left and right borders should be displayed. |
Default: void.
Example HTML code 1:
This example illustrates the use of the frame attribute:
|
||||
<table id="myTable" border="3px" frame="above"> <tr> <td>Apple</td> <td>Pear</td> <td>Peach</td> </tr> </table> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
User Contributed Comments