HTML <form> autocomplete Attribute

❮ HTML <form> tag


<form action="action.php" method="get" autocomplete="on">


autocomplete attribute, will automatically finish filling in information that the user has previously input into an input field.

Auto-filled information will likely be stored locally on the end-user’s system by some program, typically the browser itself.

It introduced in Internet Explorer 5.0 and redefined under HTML5

Standard Syntax

<form autocomplete="on|off">

Browser Support


Attribute Values

Value Description
on (default) The browser may automatically complete entries.
off The browser will not automatically complete entries.
❮ HTML <form> tag