html lesson 39

form password box

We can add a password box/field as well, the attributes are almost the same as the text box, only we change it's type to "password".

<form>
<fieldset>
<legend>passwords box</legend>
Password:<input type="password" name="pass" />
</fieldset>
</form>

Now look what happens when you type in the password field:

password box Password:

Next in lesson 40 we'll play with radio buttons in our forms.



Lesson added Monday 4th August 2008, updated Tuesday 5th August 2008