✏️ Explanatory Question

What are two types of Web Storage in HTML5?

👁 933 Views
📘 Detailed Answer
933
Total Views
6
Related Qs
0%
Progress
💡

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.