Question · HTML and CSS course · Module 2: The Web and HTML Elements
Password Field Type in Forms
What type attribute value in <input> hides typed characters (e.g., for passwords)?
Answer options
- type="password"
- type="secret"
- type="hidden"
- type="secure"
Show the answer
Correct answer:
- type="password"