Your Search Results

    <datalist> Redirect 1

    Summary

    The HTML <datalist> Element contains a set of <option> elements that represent the possible options for the value of other controls.

    Attributes

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

    Examples

    <input list="browsers" />
    <datalist id="browsers">
      <option value="Chrome">
      <option value="Firefox">
      <option value="Internet Explorer">
      <option value="Opera">
      <option value="Safari">
    </datalist>
    

    This HTML renders thusly in Firefox:

    datalist.png

    Specifications

    Specification Status Comment
    WHATWG HTML Living Standard Living Standard  
    HTML5 Candidate 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

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,