INPUT Password Description:
The password INPUT tag solicits passwords and any other type of text data that you want hidden as it is typed. The browser displays an asterisk instead of the letter that is typed. But the actual typed letter is what is sent to the form script or server.
DTD: HTML5: <!doctype html>
HTML4 Strict: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
HTML4 Transitional or Loose: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
INPUT Password Web Browser Support:
- AvantGo Palm OS
- AvantGo Windows CE
- Chrome 1, 2, 3, 4, 5
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10
- Safari 1, 2, 3, 4, 5
HTML Versions
INPUT Password Attributes:
Global attributes, event attributes and the input tag attributes. Plus:
INPUT Password Usage:
Standard password input field
<form>
<input type="password">
</form>
See an example of a standard password input tag.
INPUT Password Special Notes:
Password fields act exactly like except that the contents is not displayed on the screen. Most browsers display an asterisk instead, but some just leave the field blank.
A password input field hides the text that is being submitted, but that is all the security it provides. The data is sent to the server in clear text unless you use a secure server.
More INPUT Password Information:
- Password Protection - Protect Files and Folders
- Password Protect a Single File with HTAccess
- Web Security
- Using Images and Buttons to Submit Forms
- How to Use the Submit Form Tag
- How to Use the Input Tag
- Input Tag Attributes
- How to Use the Submit Form Tag
< Previous | HTML 5 Tags | HTML 4.01 Tags | XHTML 1.0 Elements | Next >

