For example, given:
<label for="username">Username:</label>
<input id="username" name="username" value="" />
When you click on the "Username:" label, focus goes to the corresponding form field.
Without resorting to JavaScript, is it possible to have the same behavior when the form field has no ID?
Real world example where this will be an issue is for dynamically constructed forms, where you may add similar fields to a form, or maybe add multiple instances of the same form.