The autosave Attribute

The Current State of HTML5 Forms

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

Live Demo

Text input

Textarea

 


Firefox

Safari

Safari

Chrome

Opera

IE

Android

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.