/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: autocomplete

[this page | pdf | back links]

The HTML autocomplete attribute indicates whether an element has autocomplete capability enabled. This enables the browser to display options to fill in the field, based on previously typed characters. It applies to <form>  and <input> elements (if the <input> element is type: text, search, url, tel, email, password, datepickers, range or color). Sometimes an autocomplete function needs to be enabled within the browser for autocomplete to work.

 

Valid attribute values (when used with <form> and <input> elements) include:

 

Value

Description

on

Form should have autocomplete on

off

Form should have autocomplete off

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile