HTML Table cellspacing tag
I have coded the example so you can see the
what happens as we increase the cellspacing value.
HTML in Action
| This is a table border 1, cellspacing 0 |
| row #1 |
| row #2 |
| This is a table border 1, cellspacing 1 |
| row #1 |
| row #2 |
| This is a table border 1, cellspacing 5 |
| row #1 |
| row #2 |
| This is a table border 1, cellspacing 10 |
| row #1 |
| row #2 |
HTML Code
Just cut-n-paste to reuse.
<table border="1" cellspacing="0">
<th>This is a table border 1, cellspacing 0 </th>
<tr>
<td>row #1 </td>
</tr>
<tr>
<td>row #2 </td>
</tr>
</table>
<br>
<table border="1" cellspacing="1">
<th>This is a table border 1, cellspacing 1 </th>
<tr>
<td>row #1 </td>
</tr>
<tr>
<td>row #2 </td>
</tr>
</table>
<br>
<table border="1" cellspacing="5">
<th>This is a table border 1, cellspacing 5 </th>
<tr>
<td>row #1 </td>
</tr>
<tr>
<td>row #2 </td>
</tr>
</table>
<br>
<table border="1" cellspacing="10">
<th>This is a table border 1, cellspacing 10 </th>
<tr>
<td>row #1 </td>
</tr>
<tr>
<td>row #2 </td>
</tr>
</table>
If you find this site useful and are a book buyer/reader...
Abe Books is one of my affiliates. I only use affiliates that I also purchase products from. I love Abe books. I have purchased many books from them originally cost $40 to $60 for as little as $5 to $10 dollars including shipping costs.
By accessing Abe books and clicking on one of my links I receive a small commission on your purchase that helps pay for this site. You pay no more for your books than if you accessed their site directly. Thanks for your support.
Click on icon to find books on HTML at Abe Books... |
|
|
|
The Following are a list of CSS books I own
When it comes to HTML books I am afraid I do not have many books on this subject.
The ones I do have are in the closet somewhere. If you are new to HTML rest assured
that there are many good ones out there. I am just not a good resources for advice on
this. I do own "Html Pocket Reference by Jennifer Niederst".
|
 |