The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.
This article is Not Ready.
W3C Candidate Recommendation
The autocomplete attribute specifies whether a browser should automatically provide values for a form element.
When autocomplete is on, the browser may automatically fill previously entered values, or match input names with values the user has provided.
For sensitive information or form content that is not repeated, autocomplete should be turned off so the user is forced to fill the field every time.
Autocomplete should also be turned off if the website provides its own mechanism for filling a field; for example, an autocomplete like shown in this site's search.
Valid values for autocomplete are
off. The attribute is not required.
This example uses the AUTOCOMPLETE attribute to disable the AutoComplete feature.
<input type="password" autocomplete="off">
The following example shows an HTML form with autocomplete on. One of the inputs ha autocomplete off.
<form action="submit.php" autocomplete="on"> First name:<input type="text" name="name">
Last name: <input type="text" name="surname">
E-mail: <input type="email" name="email" autocomplete="off">
<input type="submit"> </form>
|HTML5||W3C Candidate Recommendation|
Related pages (MSDN)
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]