Table Attributes
Table Border
Type <.Table Border> tag in your HTML document to create a table with a thin border around all of the table cellCaption
You can type in a caption for your table, which most browsers will display at the top. It's sometimes easier to think of the caption as the title of your table.Table Row
Tables are built row by row using the <.TR> and <./TR> tag pair. To start your first table row, type <.TR>. Now it's time to enter in the data for the individual cells of the table. Because this is the first row of the table, it's likely that you'll want this row to contain headings for each of the columns of data. Table headings are created using the <.TH> and <./TH> tag pair. To create a heading for a column of last names, you would type <.TH>Last Name<./TH>.You can type all of your column headings one after another, each contained in its own <.TH> and <./TH> tag pair. After you've completed your first row, type <./TR> to finish it. Since you'll be adding another row immediately after it, you can type <.TR> on the next line to start the new row.
Table Data
Now you can start adding the actual table data cell by cell using the <.TD> and <./TD> tag pair. To enter the data in the first cell of the second row, type <.TD> followed by the actual data and the closing <./TD>tag. Type in your remaining data, using the <.TD> and <./TD> tags to separate each cell and the <.TR> and <./TR> tags to separate each row. When you're finished, type <./TABLE> to signal the end of the table. Type in your remaining data, using the <.TD> and <./TD> tags to separate each cell and the <.TR> and <./TR> tags to separate each row. When you're finished, type <./TABLE> to signal the end of the table.