Multiple choice technology programming languages

To prevent possible security issues with the tag, you should

  1. Call the reset method if validation fails

  2. Set the tag's redisplay property to false

  3. Set the tag's reset property to false

  4. Use a plain html tag instead

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Setting the redisplay property to false prevents the password from being redisplayed in the form field when validation fails. This is a security best practice to avoid exposing the password value in the HTML source. The reset method is unrelated to password security.