<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-nz"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>NZ_S_11_3</title> </head> <body> <!--the following elements should raise errors--> <table id="table1"> <tbody> <tr> <th id="col1">col 1</th><th id="col2">col 2</th> </tr> <td> <td>cell 1</td><td>cell 2</td> <td>cell 3</td><td>cell 4</td> </td> </tbody> </table> <table id="table2" summary="This is a summary"> <tbody> <tr> <th id="col1">col 1</th><th id="col2">col 2</th> </tr> <td> <td>cell 1</td><td>cell 2</td> <td>cell 3</td><td>cell 4</td> </td> </tbody> </table> <table id="table3"> <tbody> <caption>This is a caption</caption> <tr> <th id="col1">col 1</th><th id="col2">col 2</th> </tr> <td> <td>cell 1</td><td>cell 2</td> <td>cell 3</td><td>cell 4</td> </td> </tbody> </table> <!--the following elements should be fine--> <table id="table4" summary="This is a summary"> <tbody> <caption>this is a caption"> <tr> <th id="col1">col 1</th><th id="col2">col 2</th> </tr> <td> <td>cell 1</td><td>cell 2</td> <td>cell 3</td><td>cell 4</td> </td> </tbody> </table> <table id="table5" border="0"> <tbody> <tr> <th id="col1">col 1</th><th id="col2">col 2</th> </tr> <td> <td>cell 1</td><td>cell 2</td> <td>cell 3</td><td>cell 4</td> </td> </tbody> </table> </body> </html>