<!-- HTML:Basics snippet 5. --> <!-- Use of a simple table to display data. --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>View snippet page</title> </head> <body> <!-- starting the table --> <table cellspacing="5" cellpadding="5" width="400" border="1"> <!-- adding a caption --> <caption>Prize draw results</caption> <!-- starting a table header row --> <tr> <!-- table row header cells --> <th>Prize</th> <th>Winners' names</th> </tr> <!-- table content --> <tr> <!-- table row cells --> <td>1st Prize: Sports car</td> <td>Jim Lucky</td> </tr> <tr> <!-- merging cells across rows --> <td rowspan="2">2nd Prize: Sports bicycle</td> <td>John Smith</td> </tr> <tr> <td>David Brown</td> </tr> <tr> <td rowspan="3">3rd Prize: Sports roller skates</td> <td>Nancy White</td> </tr> <tr> <td>Francis Green</td> </tr> <tr> <td>Harold Carpenter</td> </tr> <tr> <!-- merging cells across columns --> <td colspan="2">All prizes will be delivered to the winner's home address</td> </tr> </table> </body> </html>