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 instea

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

The tag has a redisplay property that controls whether the password value is redisplayed after validation fails. Setting redisplay='false' prevents the password from being shown in the form field, which is a security best practice to prevent password exposure in browser memory/view source.