Advertisements
Advertisements
Question
Creates blank text field, but shows the text as asterisks.
Options
Type="text"
Type="hidden"
Type="password"
Type="null"
MCQ
Advertisements
Solution
Type="password"
Explanation:
By defining an <input> tag as a password, we can hide the input entered into a text field. The characters entered in the box are hidden, and each character is replaced with an asterisk.
shaalaa.com
Is there an error in this question or solution?
