The HTML Attribute reference

"cellspacing" - html Attribute

  • Specifies how much space the user agent should leave between the left side of the table and the left-hand side of the leftmost column, the top of the table and the top side of the topmost row, and so on for the right and bottom of the table.
  • The attribute also specifies the amount of space to leave between cells.

Value(s): length

Attribute "cellspacing" example:
<table   border='5' cellpadding='0'
cellspacing='10' >
  <tr>
    <th >Browser</th>
    <th >accesskey usage</th>
    <th >Remarks</th>
  </tr>
  <tr>
    <td align='center'  ><img src="../images/Firefox.png"
alt="" border="0"  title="Firefox"/></td>
    <td >Shift + Alt + accesskey</td>
    <td >Set the focus on the element
                 and execute any link (a) if exist.</td>
  </tr>
  <tr>
    <td align='center' ><img src="../images/IE.png"
alt="" border="0" title="Internet explorer" /></td>
    <td >Alt + accesskey</td>
    <td >Set the focus on the element.
                 Press enter to execute any link.</td>
  </tr>
</table>
Used in the element(s):
Elements Description
table The HTML table model allows you to arrange text, images, links, forms, form fields, other tables, etc. into rows and columns of cells.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.