Password Field

Password fields are unique type of data entry fields. This is similar to text field except that all information within the password field will be displayed as an asterik(*). This makes the password field ideal for accepting sensitive information like password, bank account number etc. Password field can be created as :
<input type="password" name="<Name of the field>" value="<Default value of the object>">

Attributes of Password Field:

Name: Specifies the name of the object through which it can be referenced.
Value: Specifies the value of the Password field.


<input type="password" name="pwd" value="pwd">

This places a password field within the HTML form, which can be referenced by using its name "pwd" and whose value is "pwd". But the password value is shown using asteriks. This field will be displayed on the screen like :

Text Field of a web form

Be the first to post comment on this article :


Post Comment This is for short comments only. Use the forum for more discussions.

HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2015 All rights reserved worldwide Privacy Policy Disclaimer