What are the different types of storage in html5? Explain
In HTML5, data can be stored in 2 ways – session storage and local storage.
- Session Storage: The data or details from the current browsing session are stored. Once the browser gets closer by the user, the storage data gets removed.
- Local Storage: The data does not get cleared automatically when the user closes the browser.
BY Best Interview Question ON 03 Feb 2019