Autocomplete enables the user to predict the value. The browser will show options to fill the field when a user starts typing in a field, based on earlier typed values. The code example shows how to enable autocomplete using an input element.
<input id="name" type="text" autocomplete="on" />
If you want to enable the autocomplete from your own database or own set of options, you can go with third party components such as Syncfusion Autocomplete.