MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    <datalist>

    Summary

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

    Attributes

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

    Examples

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

    Result

    Specifications

    Specification Status Comment
    WHATWG HTML Living Standard
    The definition of '<datalist>' in that specification.
    Living Standard  
    HTML5
    The definition of '<datalist>' in that specification.
    Recommendation  

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support 20 4.0 (2.0) 10 9.5 Not supported
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support 33 4.0 (2.0) Not supported 10 Not supported

    See also