We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Esta traducción está incompleta. Por favor, ayuda a traducir este artículo del inglés.

The HTML <datalist> element contains a set of <option> elements that represent the values available for other controls.

Content categories Flow content, phrasing content.
Permitted content Either phrasing content or zero or more <option> elements.
Tag omission None, both the starting and ending tag are mandatory.
Permitted parents Any element that accepts phrasing content.
Permitted ARIA roles None
DOM interface HTMLDataListElement


This element has no other attributes than the global attributes, common to all elements.


<label>Choose a browser from this list:
<input list="browsers" name="myBrowser" /></label>
<datalist id="browsers">
  <option value="Chrome">
  <option value="Firefox">
  <option value="Internet Explorer">
  <option value="Opera">
  <option value="Safari">
  <option value="Microsoft Edge">



Specification Status Comment
HTML Living Standard
La definición de '<datalist>' en esta especificación.
Living Standard
La definición de '<datalist>' en esta especificación.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Soporte básico20 Si4109.5 No
FeatureAndroid webviewChrome para AndroidEdge mobileFirefox para AndroidOpera AndroidiOS SafariSamsung Internet
Soporte básico3333 Si4 ? No Si


Include this polyfill to provide support for older and currently incompatible browsers:

See also

Etiquetas y colaboradores del documento

Colaboradores en esta página: SphinxKnight, teoli, translatoon, Izel
Última actualización por: SphinxKnight,