HTML table Border Style property frame

Source: Internet
Author: User

  Use the Frame property to control the style type of the table border. The

Basic syntax

<tableframe= "value"

Syntax explanation

value is shown in the following table:

Table Border Style

Property Value Description
above display top border

below show bottom border

Border show up and down border

Box show up and down border

Hsides show up and down border

LHS show left Box

RHS shows the right border

Void does not show borders

Vsides display the left border

File example: 10-12.htm

To set the Borders style of a table.

01<!----------------------------------

02<!--file Example: 10-12.htm-->

03<!-- File Description: Set the table border style;

04<!----------------------------------

05
06< Head>

07<title> to set the border style of the table </title>

08
09<body>

10 <H1> the mainstream web design software
11<tableborder=3width=400height=100bordercolor=

#336699CellSpacing =10cellpadding=25align= "CENTER" Frame=vsides>

12<tr>

13<td> Web image software </td><td>fireworks</td>

14</tr>

15<tr>

16<td> Web page making 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
File description

Line 11th defines a table's border style to show only the left and right borders.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.