Example:
<input type="password" size="5" maxlength="5" />
<input type="password" size="15" maxlength="15" />
<input type="password" size="25" maxlength="25" />
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.
Also, beaware that these fields are not encrypted and therefore are unsafe. Encryption occurs through the use of a scripting language. user can not showing the value .