By default, the border of the table is 0, and we can set the border line for the table. Basic syntax <TABLE BORDER=VALUE> Syntax explanation <br />The BORDER attribute is used to define the width of the border line in pixels. File example: 10-2.htm Set the border line width. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-2.htm --> 03 <!-- File Description: Set the border width of the table--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the border width of the table</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=1> 12 <TR> 13 <TD>Web Image Software</TD> 14 <TD>Fireworks</TD> 15 </TR> 16 <TR> 17 <TD>Web page creation software</TD> 18 <TD>Dreamweaver</TD> 19 </TR> 20 <TR> 21 <TD>Web animation software</TD> 22 <TD>Flash</TD> 23 </TR> 24 </TABLE> 25 <TABLE BORDER=10>> 26 <TR> 27 <TD>Web Image Software</TD> 28 <TD>Fireworks</TD> 29 </TR> 30 <TR> 31 <TD>Web page creation software</TD> 32 <TD>Dreamweaver</TD> 33 </TR> 34 <TR> 35 <TD>Web animation software</TD> 36 <TD>Flash</TD> 37 </TR> 38 </TABLE> 39 </BODY> 40 </HTML> File description <br />Lines 11 to 24 are a complete table with a table border of 1 pixel, and lines 25 to 38 are the second complete table with a border width of 10 pixels. |
<<: How to get the size of a Linux system directory using the du command
>>: View the command to modify the MySQL table structure
Now 2016 server supports multi-site https service...
/******************** * Application of linked lis...
This article summarizes some simple principles of...
On the mobile side, flex layout is very useful. I...
Table of contents Classic approach question Furth...
Life cycle classification Each component of vue i...
Integrity constraints Integrity constraints are f...
background As we all know, nginx is a high-perfor...
The situation is as follows: (PS: The red box repr...
Table of contents 1. How to find duplicate rows 2...
The principle is to call the window.print() metho...
Preface An index is a data structure that sorts o...
As shown below: select a1,a2,a1+a2 a,a1*a2 b,a1*1...
Test project: react-demo Clone your react-demo pr...
Some usage of float Left suspension: float:left; ...