1<table>
2 <thead>
3 <tr>
4 <th>header1</th>
5 <th>header2</th>
6 <th>header3</th>
7 </tr>
8 </thead>
9 <tbody>
10 <tr>
11 <td>text1.1</td>
12 <td>text1.2</td>
13 <td>text1.3</td>
14 </tr>
15 <tr>
16 <td>text2.1</td>
17 <td>text2.2</td>
18 <td>text2.3</td>
19 </tr>
20 <tr>
21 <td>text3.1</td>
22 <td>text3.2</td>
23 <td>text3.3</td>
24 </tr>
25 <tr>
26 </tr>
27 </tbody>
28</table>
1<html>
2 <head>
3 <title>Working with HTML Tables</title>
4 </head>
5 <body>
6 <table> <!-- create an table object -->
7 <tr> <!-- "tr" represents a row -->
8 <th>Name</th> <!-- use "th" to indicate header row -->
9 <th>Date of Birth</th>
10 <th>Weight</th>
11 </tr>
12 <tr> <!-- once again use tr for another row -->
13 <td>Mary</td> <!-- use "td" henceforth for normal rows -->
14 <td>12/13/1994</td>
15 <td>130</td>
16 </tr>
17 </table>
18 </body>
19</html>
1<table>
2 <tr>
3 <td>First cell of the first row</td>
4 <td>Second cell of first row</td>
5 </tr>
6 <tr>
7 <td>First cell of second row</td>
8 <td>Second cell of second row</td>
9 </tr>
10</table>
1<table>
2 <tr> <!-- This is the first row -->
3 <th>This is the heading</th>
4 <th>Next heading to the right</th>
5 </tr>
6 <tr> <!-- This is the second row -->
7 <td>This is where the table data goes</td>
8 <td>This is the second columns data</td>
9 </tr>
10</table>
1<table>
2 <thead>
3 <tr>
4 <th>Item 1-1</th>
5 <th>Item 1-2</th>
6 <th>Item 1-3</th>
7 </tr>
8 </thead>
9 <tbody>
10 <tr>
11 <th>Item 2-1</th>
12 <th>Item 2-2</th>
13 <th>Item 2-3</th>
14 </tr>
15 </tbody>
16</table>
1 <table></table>
2 <td></td> <!-- td is a table cell-->
3 <tr></tr> <!-- tr is a table row-->
4 <th></th> <!-- th is the table header -->
5 <thead></thead><tbody></tbody><tfoot></tfoot> <!-- table semantic -->
6 <tr rowspan="2"></tr><!-- Span a row -->
7 <tr colspan="2"></tr><!-- Span a column -->