Kevin Kevin - 1 year ago 74
HTML Question

Encrypting a textfield in HTML

I have a text field in my HTML project that I want to encrypt as a password.

So basicaslly instead of this being displayed in the text field:


I want it to say:


or something close to that.
So basically just making the text that the user inputs not to be visible.

How do I do this?

Answer Source

Use <input type="password" />

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download