English

Creates blank text field, but shows the text as asterisks.

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×