Password
The type="password"
input type creates a “password input box”.
This attribute creates a single line text entry field where the characters are hidden with *
s.
HTML
<p>
Password:
<input type="password" name="password" id="test-password" />
</p>
Please Enter:
Birth Year:
Net ID:
Password:
NOTE: You would never use this type of field to send sensitive data such as SSN’s. For such situations, a site should create a web socket or use an Secure Socket Layer (SSL) connection with a server to guarantee secure delivery of data.
- Previous
- Next