Use the FRAME attribute to control the style type of table borders.
Basic syntax<TABLE Frame=value>
Syntax explanationThe values of VALUE are shown in the following table:
Border style of table
| Attribute value | describe |
| Above | Show the upper border |
| Below | Show the border below |
| Border | Show up, down, left and right borders |
| Box | Show up, down, left and right borders |
| Hsides | Show upper and lower borders |
| Lh | Show left border |
| Rhs | Show the right border |
| Void | No borders are displayed |
| Vsides | Show left and right borders |
Set the border style of the table.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-12.htm -->
03 <!-- File description: Set the border style of the table-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the border style of the table</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 CellSpacing=10 CellPadding=25 ALIGN=CENTER frame=vsides>
12 <TR>
13 <TD>Web Image Software</TD><TD>Fireworks</TD>
14 </TR>
15 <TR>
16 <TD>Web page production software</TD><TD>Dreamweaver</TD>
17 </TR>
18 <TR>
19 <TD>Web animation software</TD><TD>Flash</TD>
20 </TR>
21 </TABLE>
22 </BODY>
23 </HTML>
Document descriptionLine 11 defines the border style of the table to display only left and right borders.