HTML5 input autocomplete

First step: on the second field type something and click on the submit button Then reload the page: you will see some autocompletion suggestions

by Julien Roche

HTML

<fieldset>
    <legend>Without autocomplete attribute</legend>
    <input id="same-id" type="search" />
  </fieldset>

  <br />

  <fieldset>
    <legend>With autocomplete on "on"</legend>
    <input id="same-id" type="search" autocomplete="on" />
  </fieldset>

  <br />

  <fieldset>
    <legend>With autocomplete on "custom-search-off"</legend>
    <input id="same-id" type="search" autocomplete="custom-search-off" />
  </fieldset>

  <br />

  <fieldset>
    <legend>With autocomplete on "off"</legend>
    <input id="same-id" type="search" autocomplete="off" />
  </fieldset>

  <br />

  <input type="submit" value="Submit the hgfhgf" />