Web storage: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted references removed Mobile edit Mobile web edit
Line 3:
{{HTML}}
 
'''Web storage''', sometimes known as '''DOM storage''' ([[Document Object Model]] storage), provides [[web application|web apps]] with methods and protocols for storing client-side data. Web storage supports [[Persistence (computer science)|persistent]] data storage, similar to [[HTTP cookie|cookies]] but with a greatly enhanced capacity<ref name="dev-opera-ws" /> and no information stored in the [[List of HTTP headers|HTTP request header]].<ref>{{cite web|url=http://blog.andyhume.net/localstorage-is-not-cookies|archive-url=https://web.archive.org/web/20110602165051/http://blog.andyhume.net/localstorage-is-not-cookies|url-status=dead|title=localStorage is not cookies|author-first=Andy|author-last=Hume|archive-date=2011-06-02|date=2011-03-24|access-date=2021-05-14|website=andyhume.net}}</ref> There are two main web storage types: local storage and session storage, behaving similarly to [[persistent cookie]]s and [[session cookie]]s respectively. Web Storage is standardized by the [[World Wide Web Consortium]] (W3C)<ref>{{Cite web|url=http://www.w3.org/TR/webstorage/|title=Web Storage (Second Edition)|editor-first=Ian|editor-last=Hickson|publisher=Web Platform Working Group|website=W3C|date=2021-01-28|access-date=2021-05-14}}</ref> and [[WHATWG]].<ref>{{Cite web|url=https://html.spec.whatwg.org/multipage/webstorage.html|title=HTML Standard {{section-sign}} 12 Web storage|website=html.spec.whatwg.org|author=WHATWG|access-date=2021-05-14}}</ref> All major browsers support it.
 
==Features==