Adding a Table RowAnother critical building block of an HTML table is the table row, represented by the TR element (see Example 4-3). Example 4-3. A table with a table row<table width="90%" border="1" cellspacing="5" cellpadding="5"> <tr> </tr> </table> the row clearly (see Figure 4-3). Figure 4-3. A table with one rowthe spacing between the row's outline and the table's outline is created by the cellspacing and cellpadding attributes.
You can add as many rows as your table requires. Figure 4-4. A table with three rows.
|
| |||||||||||||||||||