Search results
The <datalist> tag specifies a list of pre-defined options for an <input> element. The <datalist> tag is used to provide an "autocomplete" feature for <input> elements. Users will see a drop-down list of pre-defined options as they input data.
Jul 2, 2024 · The <datalist> HTML element contains a set of <option> elements that represent the permissible or recommended options available to choose from within other controls.
Dec 26, 2023 · The <datalist> in HTML offers selectable options for the <input>, while <option> groups choices within a dropdown menu for better organization. The <datalist> tag also supports the Global Attributes and Event Attribute in HTML.
HTML <datalist> tag provide pre-arranged options for an HTML input element that can be specified as needed. This tag allows the input element to be completed automatically by providing selective choices in a pre-defined list.
The HTML <datalist> tag is used to create a list of input options, predefined by the <input> tag. Learn how to use the <datalist> tag with examples.