Turn Off Autocomplete for Input in HTML


/ Published in: HTML
Save to your folder(s)

This would be useful when a text input is one-off or unique. Like a username or email input, one-time use codes, or for when you have built your own auto-suggest/auto-complete feature and need to turn off the browser default.


Copy this code and paste it in your HTML
  1. <input name="email" type="text" autocomplete="off" />

URL: http://www.apphp.com/index.php?snippet=html-autocomplete-off

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.