Html 5 Form Autocomplete Attribute Tag

The autocomplete attribute indicates the form and input fields .Those should have an autocomplete functions. In the autocomplete attribute form tag is new in HTML5.In the autocomplete attribute tag will work <form> and input types.That input types are text, url, search, telephone, password, email ,datepickers,color and range.

Syntax:

<form autocomplete="on">
  ......
</form>

Example Code

<!DOCTYPE HTML>
<form action="" method="get" autocomplete="on">
  Name :<input type="text" name="Name" />
  <input type="submit" value="Submit" />
</form>

Out Put :



Name :




Content