Tuesday, December 10, 2024

HTML5’s Local Storage and the Web Storage Specification

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.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Popular Articles

Featured