News: - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

HTML - Password Fields

Started by fashion, Aug 09, 2008, 07:54 PM

Previous topic - Next topic


HTML - Password Fields

Password fields are a special type of <input /> tag. All that we need to do is change the type attribute from text to password.

HTML Code:
<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 the 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.

Do Wat You Like


Hi fashion,
I looking for this code for more then 1 month now.
But i never able to get it. Today while searching in google, I' m lucky to see this post.
Thanks for sharing.


Tanx for the reply ashleycameron.... ;)
Do Wat You Like