How to Disable/Turn off Browser Autocomplete on Web Form Field/input Field?

Problem:

You create a form for users in your page.  When a user starts to fill the form, by default, browser shows options or some suggestions to fill in the field, based on earlier typed values. You need to disable this.

Solution:

Add the following code in the opening form tag.

The code:

<form autocomplete="off">

Explanation:

When the attribute “autocomplete” sets to “off”, it forbids the browser to display options.