I have a weird html problem.
I have a code like:
<label for="username">Username</label>
<input name="username" type="text"/>
But when I click on the label text Username I am not “redirected” into the input text field. By redirection I mean that the blinking cursor appears inside the input field and I can start writing.
What am I doing wrong?
For in label refers to an id:
More: http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1