Formatting Your Table

Now you will add a border around your table and center align it on the page. First add the following code to your beginning table tag that will align the table to the center, assign the table a width of 640 pixels, and assign pixels to the cell spacing and padding:

Table Tag

Your table should now look like this and appears centered on the page:

Formatted Table

Home