next up previous contents
Next: Radio Buttons Up: Forms: Facilitating User Input Previous: Password

Associating labels with text and password input

The above examples do not look good and maybe confusing when viewed as multiple input.

This is done in straight forward HTML. For Example:

<form>
<p> Enter Your Name: 
<INPUT type="text"  size=15> <br>
Enter Your Password: 
<INPUT type="password" name="pwd" 
        size=15 maxlength=15>
</p>
</form>

Enter Your Name:
Enter Your Password:



dave@cs.cf.ac.uk