English

Tag to create password field in HTML document:

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?
Chapter 5: HTML- III: Audio, Video and Forms - Assisted Practice [Page 229]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 5 HTML- III: Audio, Video and Forms
Assisted Practice | Q 13. | Page 229
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×