The list attribute is used to identify an element that lists predefined options suggested to the user. If present its value must be the ID of a datalist element in the same document....The list attribute is used to identify an element that lists predefined options suggested to the user. If present its value must be the ID of a datalist element in the same document.