Kieran Mair - validation of XHTML 1.0 Strict

by <krmair01i(at)ozemail.com.au>

 Date:  Sat, 21 Feb 2004 14:03:37 +1100
 To:  <hwg-xml(at)hwg.org>
  todo: View Thread, Original


     Hello people,
            I have a question about why this code won't validate in XHTML 1.0 Strict.  Everything I have read says forms are the same in all codes.  Can anyone suggest why the name attribute of the form tag here is not accepted?

<form action="Login.html" method="post" onsubmit="return checkVal()" name="form">
<div id="lcolumn">
<table border="1">
<tbody>
<tr>
<td>The Username for your account:</td>
<td>
<input id="username" name ="username" maxlength="30" size="29" />
</td></tr>
<tr>
<td>Password, consisting of letters and numbers: (5-8 characters):</td>
<td><input id="password" type="password" maxlength="8" size="7" name="password" /></td></tr>
<tr>
<td colspan="2">
<span class="center">
<input type ="submit" value="Submit" name="submit" />
<input type = "reset" value="Reset" />
</span>
</td>
</tr>
</tbody>
</table>
</div>
</form>

end

This message was sent through MyMail http://www.mymail.com.au

HWG hwg-xml mailing list archives, maintained by Webmasters