The Current State of HTML5 Forms

The autosave Attribute

<input type="text" placeholder="(555) 555-5555">
<textarea placeholder="Smurfberries<"/strong>></textarea>

Live Demo

Text input
Textarea
Firefox
Safari
Safari Mobile
Chrome
Opera
IE
Android
input No support Supported Supported Supported Supported No support No support

The Low Down

The autosave attribute is a non-standard attribute that enables the persistence of search terms across page reloads.

  • This attribute should be defined as a unique value.
  • For inputs of type search, the search term values snould persist on page reload.