top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the various types of storage in HTML 5?

0 votes
277 views
What are the various types of storage in HTML 5?
posted Sep 10, 2015 by Sathyasree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

HTML 5 has the capability to store data locally. Previously it was done using cookies.

The exciting thing about this storage is that it's fast as well as secure. There are two different objects that can be used to store data.

localStorage object stores data for a longer period of time even if the browser is closed.
sessionStorage object stores data for a specific session.
answer Sep 11, 2015 by Shivaranjini
...