Web Storage

suggest change

Syntax

Parameters

Parameter Description
name The key/name of the item
value The value of the item

Remarks

The Web Storage API is specified in the WHATWG HTML Living Standard. Stored values are strings. Assigning localStorage.name also collides with properties the object already has, such as length and clear.

Using localStorage

Simpler way of handling Storage

Storage events

sessionStorage

Clearing storage

Error conditions

Remove Storage Item

localStorage length

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents