HTML table markup tutorial (9): cell spacing attribute CELLSPACING

HTML table markup tutorial (9): cell spacing attribute CELLSPACING

A certain distance can be set between cells in a table so that the table does not appear too compact.
Basic syntax
<TABLE CellSpacing=value>
Syntax explanation <br />Cell spacing is in pixels.
File example: 10-9.htm
Set the cell spacing for the table.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-9.htm -->
03 <!-- File Description: Set the cell spacing of the table-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Setting the cell spacing of a table</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 Background=10-8.jpg CellSpacing=10>
12 <TR>
13 <TD>Web Graphics Software</TD><TD>Fireworks</TD>
14 </TR>
15 <TR>
16 <TD>Web page creation 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>
File Description <br />Line 11 defines the cell spacing of the table to be 10 pixels.

<<:  Mysql Sql statement exercises (50 questions)

>>:  How to use provide to implement state management in Vue3

Recommend

Example code of layim integrating right-click menu in JavaScript

Table of contents 1. Effect Demonstration 2. Impl...

Detailed analysis of the syntax of Mysql update to modify multiple fields and

When updating a record in MySQL, the syntax is co...

Tutorial on installing MySQL 5.6 on CentOS 6.5

1. Download the RPM package corresponding to Linu...

About the configuration problem of MyBatis connecting to MySql8.0 version

When learning mybatis, I encountered an error, th...

How to extract string elements from non-fixed positions in MySQL

Preface Note: The test database version is MySQL ...

Analysis of MySQL latency issues and data flushing strategy process

Table of contents 1. MySQL replication process 2....

Detailed explanation of hosts file configuration on Linux server

Linux server hosts file configuration The hosts f...

Notes on using $refs in Vue instances

During the development process, we often use the ...

How to use mysqldump to backup MySQL data

1. Introduction to mysqldump mysqldump is a logic...

CSS to achieve horizontal lines on both sides of the middle text

1. The vertical-align property achieves the follo...

The concept of MySQL tablespace fragmentation and solutions to related problems

Table of contents background What is tablespace f...

In-depth explanation of MySQL learning engine, explain and permissions

engine Introduction Innodb engine The Innodb engi...