Home / Questions / What are two types of Web Storage in HTML5?
Explanatory Question

What are two types of Web Storage in HTML5?

👁 933 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Two storage types of HTML5 are:

Session Storage:

It stores data of current session only. It means that the data stored in session storage clear automatically when the browser is closed.

Local Storage:

Local storage is another type of HTML5 Web Storage. In local storage, data is not deleted automatically when the current browser window is closed.