Advertisement
Home Open Editor ❯

HTML <form> autocomplete Attribute

Example

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

Try this code ❯

Meaning

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">


Advertisement

Attribute Values

Value Description
on (default) The browser may automatically complete entries.
off The browser will not automatically complete entries.
Home Open Editor ❯
Advertisement