Location: PHPKode > projects > OpenWolf Guidelines Validator > openWolf 0.9.9/nz/tests/NZ_S_11_1.htm
<!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_1</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 headers="col1">cell 1</td><td headers="col2">cell 2</td>
		</td>
	</tbody>
	</table>
	
	<table id="table2">
	<tbody>
		<tr>
			<th id="col1" scope="col">col 1</th><th id="col2" scope="col">col 2</th>
		</tr>
		<td>
			<td>cell 1</td><td>cell 2</td>
		</td>
	</tbody>
	</table>
	
	<!--the following elements should be fine-->
	<table id="table3">
	<tbody>
		<tr>
			<th id="col1" scope="col">col 1</th><th id="col2" scope="col">col 2</th>
		</tr>
		<td>
			<td headers="col1">cell 1</td><td headers="col2">cell 2</td>
			
		</td>
	</tbody>
	</table>
	
	<table id="table4" border="0">
	<tbody>
		<tr>
			<th>col 1</th><th>col 2</th>
		</tr>
		<td>
			<td>cell 1</td><td>cell 2</td>
		</td>
	</tbody>
	</table>
	
</body>
</html>
Return current item: OpenWolf Guidelines Validator