Does my code contain anything invalid?<form name=myForm id=myForm>    <table id=myTab>        <tr>            <td>                <label for=id>User ID:</label>                <input type=text id=id />            </td>        </tr>        <tr>            <td>                <label for=pass>Password:</label>                <input type=password id=pass name=pass />            </td>            <td>                <button type=button class=submit>Submit</button>            </td>        </tr>        <tr><td><input type=reset /></td></tr>    </table>    <div class=error></div><div class=correct></div></form>
Is this password-submission form valid?
html;html5;form
According to the W3C (http://validator.w3.org/)Your form tag is not valid.Technically it must have an action attribute:required attribute ACTION not specified in:  <form name=myForm id=myForm>The attribute given above is required for an element that you've used, but you have omitted it.There are a couple of warnings:Warning: NET-enabling start-tag requires SHORTTAG YES  <input type=text id=id /   >                                      ^^^  <!-- auto closing tag -->The sequence  can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag '). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML. 