X hits on this document

PDF document

HTML Beginner's Guide - page 11 / 16

37 views

0 shares

0 downloads

0 comments

11 / 16

<table> <tr>

<td>Row 1, cell 1</td> <td>Row 1, cell 2</td> <td>Row 1, cell 3</td> </tr> <tr> <td>Row 2, cell 1</td> <td>Row 2, cell 2</td> <td>Row 2, cell 3</td> </tr> <tr> <td>Row 3, cell 1</td> <td>Row 3, cell 2</td> <td>Row 3, cell 3</td> </tr> <tr> <td>Row 4, cell 1</td> <td>Row 4, cell 2</td> <td>Row 4, cell 3</td> </tr> </table>

The table element defines the table.

The tr element defines a table row.

The td element defines a data cell. These must be enclosed in tr tags, as shown above.

If you imagine a 3x4 table, which is 12 cells, there should be four tr elements to define the rows and three td elements within each of the rows, making a total of 12 td elements.

DANA’S TABLE WITH ADDITIONAL ATTRIBUTES

<table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top">&nbsp;</td> <td valign="top">&nbsp;</td>

</tr> <tr>

<td valign="top">&nbsp;</td> <td valign="top">&nbsp;</td>

</tr> </table>

Document info
Document views37
Page views37
Page last viewedMon Dec 05 07:54:13 UTC 2016
Pages16
Paragraphs214
Words4418

Comments