HTMLautocompleteattribuut
HTML autocomplete is a feature of web forms that allows browsers to offer or automatically fill previously entered data into form controls. It aims to speed up repetitive data entry while giving users control over what is stored and suggested.
The autocomplete attribute can be applied to form elements such as form, input, select, textarea, and button.
<input type="text" name="firstName" autocomplete="given-name">
<input type="text" name="lastName" autocomplete="family-name">
<input type="email" name="email" autocomplete="email">
<input type="password" name="password" autocomplete="new-password">
Usage considerations include security and privacy. Autocomplete data is stored by the browser and may be available