Tutorial 3- Table Boreders and CellSpacing
Part A:
By default browsers display tables without table borders. You can create a table border by adding the BORDER property to that TABLE tag. The code for creating a table border is
< TABLE BORDER=size >
where size is the width of the prder in pixels. The size value is optional, if you dont specify a size, but simply enter BORDER, the browser creates a border 1 pixel wide around the table.
Here are some examples of table border sizes:
0 Pixels
1 Pixel
5 Pixels
10 Pixels
Part B:
The CELLSPACING property controls the amount of spacec inserted between table cells. The code for specifying the cell spacing is:
< TABLE CELLSPACING=size >
where size is the width of the interior borders in pixels.
Here are some examples of cellspacing sizes:
0 Pixels
1 Pixel
5 Pixels
10 Pixels