HTML CSS Reference/HTML Attributes Reference/cellspacing

Материал из Web эксперт
Перейти к: навигация, поиск

"cellspacing" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For cellspacing</Title></head> <BODY>

This table has cellSpacing="15"
Cell 1 Cell 2 content

</BODY> </HTML>


     </source>
   
  


cellspacing is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+

| Applied_To | | +----------------+--------------------------------------------------------------+ </source>

"cellspacing" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the width of the empty space between cells in a table. Its value can be an integer that specifies the amount of space in pixels. Its value can also be a percentage of the total cell size to use as space.

Syntax:

. . .


</source>