Error?

I'm got an error message for using the label together with an <a>

<tr>
      <td><label for='glemt'>&nbsp;&nbsp;&nbsp;Jeg kan ikke huske mine
log-indata.</label></td>
      <td><a id='glemt' href='glemtpassword.asp'>Tryk her for
hjælp</a>!</td>
</tr>

The error message says

   1.

   *Error*: The for attribute of the label element must refer to a
   non-hidden form control.

   From line 71, column 17; to line 71, column 35

   <td>*<label for='glemt'>*&nbsp;


But isn't it correct syntax I have used?

best regards

Jens

Jens.R.rasmussen@tvegaard.dk

Received on Thursday, 10 September 2015 21:35:56 UTC