Creating Tables Steps for creating a Table Important Facts about Table Attributes for Table tag Attributes for Table Row <tr> tag Attributes for Table data <td> tag
Steps for creating a Table Create matching <table> and </table> Count up the numbers of rows you wish to have in your table and create a pair of the <tr> and </tr> tags for each row between the table tag of step (1). For each row individually, count up the number of cells and place <td> and </td> tag within each row of step (2). Place the data within the appropriate cells between the corresponding <td> & </td> tag.
Important Facts Cells will always grow big enough to accommodate the data in cell. When you set width and/or height of a table, you are actually setting a minimum of width and/or height. The widest cell in a column determines the width of all cell in that column The tallest cell in a row determines the height of all cells in that row.
Attributes for Table tag align background bgcolor border bordercolor cellpadding cellspacing width height
Attributes for <tr>…</tr> tag align valign bgcolor
Attributes for <td>…</td> tag align valign background bgcolor width height rowspan colspan