Hide a value or text from the HTML Input control

MFBM picture MFBM · Jul 19, 2016 · Viewed 10.3k times · Source

How to hide a text or value from a html inputfield without set to hidden control. I want to the textbox keep on visible but the text/value is hide. Is possible?

Thank You

Answer

Srikanth Reddy picture Srikanth Reddy · Jul 19, 2016

Try this solution

you can set text color to transparent

 input {
    color: transparent;
}