Output

Sample Code

This is a demo for "datalist" attribute in the input field of Forms.

HTML:

  <form>
    <input list="hpurls" name="lst" />
      <datalist id=hpurls >
        <option value="http://www.google.com/" label="Google">
        <option value="http://www.reddit.com/" label="Reddit">
      </datalist>
  </form>