HTML DOM Input Email autocomplete attribute
Examples
Set email fields autocomplete attribute to off (closed):
try it"
Definitions and use
autocomplete attribute is used to set or return the value of the email field autocomplete attribute.
When autocomplete is on (open), the browser until the user based on the value entered automatically entered.
Tip: In some browsers you may need to activate the autocomplete function to achieve the effect.
Browser Support
All major browsers support autocomplete attribute.
Note: Opera 12 and earlier versions of the browser does not support autocomplete attribute.
Note: Internet Explorer 9 and earlier versions of IE, Safari browser does not support <input type = "email"> element.
grammar
Back autocomplete attribute:
Setting autocomplete attribute:
Property Value
value | description |
---|---|
on | default. Enabled value based on the input before the user had to autocomplete function. |
off | Disable AutoComplete feature, a user will need to enter their own values. |
technical details
return value: | String that represents the auto-complete state |
---|
More examples
Examples
Get automatic completion status:
x The output is:
try it"
Related Pages
HTML Reference Manual: HTML <the INPUT> AutoComplete property