LocalStorage is part of W3C Web Storage

LocalStorage is a persistent key-value store in the browser with a full JavaScript API to set/get/remove values and events to track changes programatically.

LocalStorage typically allows for up to 5MB of storage, although this can be increased at the user's discretion.

Data in LocalStorage isn't sent to the server as it is with cookies.

LocalStorage allows for a whole range of uses that cookies do not, and cookies allow for a whole range of uses that localStorage does not.

More Information#

There might be more information for this subject on one of the following: