DISABLE AUTO-COMPLETION OF INPUT TEXT

You can use the autocomplete input attribute to instruct the browser how it should remember the values in a form after it is submitted. When the form loads again, supported web browsers will present a pull-down list showing all previous values after the user types the first character that matches a previously used value. This feature is enabled by default, but should be disabled for security text fields, such as usernames and Q&A authentication.

You can disable it on your website by applying autocomplete='off' to a form tag:

<form ... autocomplete='off'>
<input type='text' ... >
</form>

Or set autocomplete='off' on individual input elements; no values will be cached, nor will a pull-down list appear: ...

Get HTML5: Your visual blueprint™ for designing rich web pages and applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.