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>">
HTML password input box and its attributes with examples.

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.

Example:

<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 :


HTML Form Hidden field Text field

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com







    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer