Use the autocomplete attribute to enable autocomplete functionality in HTML forms. AutoCompleteAttributes are used with form elements to set the autocomplete feature on or off. If the AutoComplete feature is enabled, the browser will automatically display values based on what the user has previously entered in the field.
If the AutoComplete em>feature is off, the browser will not automatically display values based on what the user has previously entered into the field.
The following are attribute values-
S.No | Attribute values | Instructions |
---|---|---|
Open | It's the default value. The browser will automatically complete the value based on what the user has previously entered. | |
p> | CloseThe browser will not The previously entered content completes the value. The user must enter a value. |
or
The above is the detailed content of How to specify in HTML whether an or