password

< html‎ | elements‎ | input‎ | type
Jump to: navigation, search

password

This article is Not Ready.



Summary

The password type of the <input> element represents a one-line plain-text edit control for entering a password, which renders input text in such a way as to hide the characters (e.g., a series of asterisks).


Overview Table

DOM Interface HTMLInputElement

Needs Examples: This section should include examples.

Notes

Remarks

Security Warning:  Using this object incorrectly can compromise the security of your application. Passwords submitted through input type=password are not encrypted and therefore not secure. Using Secure Hypertext Transfer Protocol (HTTPS) is strongly recommended. You should also use the post method for submitting passwords. This submission method hides the password from most users by placing it in the HTTP header. The get method submits the password as part of the URL string, which might be exposed in the Address bar and the status bar. You should review the Security Considerations: Dynamic HTML before continuing. Note  Starting with Internet Explorer 10, password fields will automatically display a warning if the caps lock is on. To turn off the automatic caps lock warning, use the msCapsLockWarningOff property on the document object.

Standards information


HTML information

{

Related specifications

Specification Status Related Changes
Document Object Model (HTML) Level 1 Recommended

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]