Is this password-submission form valid? Does my code contain anything invalid?

&lt;form name="myForm" id="myForm"&gt;
    &lt;table id="myTab"&gt;
        &lt;tr&gt;
            &lt;td&gt;
                &lt;label for="id"&gt;User ID:&lt;/label&gt;
                &lt;input type="text" id="id" /&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;
                &lt;label for="pass"&gt;Password:&lt;/label&gt;
                &lt;input type="password" id="pass" name="pass" /&gt;
            &lt;/td&gt;
            &lt;td&gt;
                &lt;button type="button" class="submit"&gt;Submit&lt;/button&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;&lt;td&gt;&lt;input type="reset" /&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
    &lt;div class="error"&gt;&lt;/div&gt;&lt;div class="correct"&gt;&lt;/div&gt;
&lt;/form&gt;
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:
  &lt;form name="myForm" id="myForm"&gt;
  
  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
  &lt;input type="text" id="id" /   &gt;
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^^  &lt;!-- auto closing tag --&gt;
  
  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.