This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

list

Summary

The list attribute refers to a <datalist> element specifying possible values to suggest for an input element.

Applies to [HTMLInputElement](/html/elements/input)
This attribute allows for the developer to specify autofill values for an input element for the browser to present to a user.

This can allow for things such as autocompletion, or faster site search. It would be possible to create an autocomplete such as on this site’s search with a server side populated datalist.

See also

Related articles

HTML

Related pages

Attributions