Location: PHPKode > projects > OpenWolf Guidelines Validator > openWolf 0.9.9/nz/tests/NZ_S_22_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_22_1</title>
</head>

<body>
	
	<!--the following elements should raise errors-->
	<form name="form1">
		<input type="text" name="name" />
		<input type="text" name="email" />
		<select mname="country">
			<option>New Zealand</option>
		</select>
		<textarea>comments</textarea>
		
		<input type="submit" />
	</form>
	
	<form name="form2">
		<input type="text" name="name" />
		<input type="text" name="email" />
		<select mname="country">
			<option>New Zealand</option>
		</select>
		<fieldset>
		<textarea>comments</textarea>
		</fieldset>
		<input type="submit" />
	</form>
	
	<!--the following elements shou;d be fine-->
	<form name="form3">
		<input type="hidden" name="name" />
		<input type="hidden" name="email" />
		<select mname="country">
			<option>New Zealand</option>
		</select>
		<textarea>comments</textarea>
		
		<input type="submit" />
	</form>
	
	<form name="form4">
		<input type="text" name="name" />
		<input type="text" name="email" />
		<select mname="country">
			<option>New Zealand</option>
		</select>
		<fieldset>
			<legend>comments</legend>
			<textarea>comments</textarea>
		</fieldset>
		<input type="submit" />
	</form>
</body>
</html>
Return current item: OpenWolf Guidelines Validator