HTML · Form and input attributes

autocomplete

Tells the browser what kind of data the field expects so autofill works correctly.

Syntax
autocomplete="email"

Example

Try it

More in this group

accept accept-charset action capture checked cols dirname disabled

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course