In HTML5, users will receive two types of web storages as following.

1. Local Storage: Here, data will be stored in the local storage, and will not be cleared automatically or when we close the browser.

2. Session Storage: With this type, the user’s browser current session data will be stored. Once the browser is closed, the storage will be cleared.

BY Best Interview Question ON 05 Jul 2019