This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

cells

Summary

Retrieves a collection of all cells in the table row or in the entire table.

Applies to ?
## Examples

This example uses the cellspacing attribute and the cellSpacing property to change the spacing between two cells.

<table id="oTable" border="0" cellspacing="10">
    <tr>
        <td>Cell 1</td>
        <td>Cell 2</td>
    </tr>
</table>
:
<button onclick="oTable.cellSpacing=20">Larger spacing</button>
<button onclick="oTable.cellSpacing=5">Smaller spacing</button>

View live example

Syntax

Standards information

See also

Related pages

Attributions