Password Fields
Posted by admin | Posted in HTML Tutorial | Posted on 11-08-2010-05-2008
0
Password fields are a special type of <input /> tag. All that we need to do is change the type attribute from text to password.
Example:
- <input type=”password” size=”5″ maxlength=”5″ />
- <input type=”password” size=”15″ maxlength=”15″ />
- <input type=”password” size=”25″ maxlength=”25″ />
Password Fields:
The only difference between these fields and the normal text fields is that when you type into them, the browser hides the characters being typed; replacing them with dots, stars, or boxes.
