Advertisements
Advertisements
Question
Tag to create password field in HTML document:
Options
<password>
<input>
<pwd>
<pword>
MCQ
Advertisements
Solution
<input>
Explanation:
Use the <input> element with the attribute type="password" to create a password field; the browser masks characters as they are typed. Example:
<input type="password" name="password">shaalaa.com
Is there an error in this question or solution?
