An <input> element with pre-defined values in a <datalist>:
The list attribute refers to a <datalist> element that contains pre-defined options for an <input> element.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
list | 20.0 | 10.0 | 4.0 | Not supported | 9.6 |
The list attribute is new in HTML5.
Value | Description |
---|---|
datalist_id | Specifies the id of the datalist to bind the <input> element to |