HTML table markup tutorial (10): cell padding attribute CELLPADDING

HTML table markup tutorial (10): cell padding attribute CELLPADDING

Cell padding is the distance between the cell content and the border.
Basic syntax
<TABLE Cellpadding=value>
Syntax explanation <br />Cell margins are measured in pixels.
Document example: 10-10.htm
Sets the cell margins for the table.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-10.htm -->
03 <!-- File Description: Set the cell margins of the table-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Setting the cell margins 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 CellPadding=25>
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 table cell margins as 25 pixels.

<<:  How to deploy Go web applications using Docker

>>:  ElementUI implements sample code for drop-down options and multiple-select boxes

Recommend

Solve the problem of using swiper plug-in in vue

Since I used this plugin when writing a demo and ...

Web page experience: Web page color matching

<br />The color of a web page is one of the ...

Detailed tutorial on deploying apollo with docker

1. Introduction I won’t go into details about apo...

How to set up Referer in Nginx to prevent image theft

If the server's images are hotlinked by other...

Solution to MySQL remote connection failure

I have encountered the problem that MySQL can con...

HTML code to add quantity badge to message button

HTML code: <a onclick="goMessage();"...

Simple implementation of Mysql add, delete, modify and query statements

Simple implementation of Mysql add, delete, modif...

mysql indexof function usage instructions

As shown below: LOCATE(substr,str) Returns the fi...

vue+element custom query component

This article mainly introduces the Vue project. O...