输出

will save input history

will not save input history

示例代码

This is a demo for "autocomplete" attribute in fields of Forms.

HTML:

<form>
  <p><label>Account: <input type="text" name="acon" autocomplete="on"></label></p>
  will save input history
  <p><label>Account: <input type="text" name="acoff" autocomplete="off"></label></p>
  will not save input history
  <br>
  <input type="submit" value="submit" />
</form>