229 users online (0 members and 229 guests)  


  HTML Form Input Type Password





The Password input type creates a single line window the user can enter text into. It's exactly like the text type except when the text is entered, stars appear instead of the typed symbols or letters.
Here is an example:


Please put in your password:<input type="password" name="passwd" size="15" maxlength="14">

The code above would result in this (but only if with in <form> tags):


Please put in your password:


This is usually used for putting in passwords, but if you have another idea for it, go ahead. For a list of the attributes, go to the text input type.


Back to the HTML menu.