In all of the following examples, I will only show you the relevant section of code. You can control the width of your table with the width and height attribute. Similarly, you can make your table higher than the enclosed data. We have discussed border previously, but here is another example. When you have a wider border, the internal lines remain the same narrow width.
Border is expressed in pixels.
A table with no border is a very useful and helpful tool which is often used for page layout purposes. This creates extra space between the edge of your data and the table borders. Cellpadding is expressed in pixels. This alters the size of the space between the data cells - the width of the cell walls. Cellspacing is expressed in pixels.