HTML5's Local Storage and the Web Storage Specification

By HTMLGoodies Staff

The Web Storage specification's goal is to define "an API for persistent data storage of key-value pair data in Web clients" and is separate from the storage functionality of the HTML5 specification. HTML5's local storage, however, is still called Web Storage by some, and DOM Storage by others.

HTML5 Storage (web storage) is actually the storing of a key/value pair on the web client (browser). Web storage has several advantages over more traditional cookies, and works on most of the current web browsers, including Chrome 8, Safari 5, Internet Explorer 8, and Firefox 3.6.

Web storage is a feature of modern browsers that enables an experience that is closer to a standard desktop application than what we expect from a standard web browser. The Web Storage API is simple to use, and consistent across most current web browsers.

View Full Article

  • Web Development Newsletter Signup

    Invalid email
    You have successfuly registered to our newsletter.
Thanks for your registration, follow us on our social networks to keep up-to-date