What are two types of Web Storage in HTML5?
There are following 2 types of web storage in HTML5
- Local storage
- Session storage
Local storage store the data even if the user have closed the browser on the other hand session storage do not save and delete the data when user closes the browser.
diffrence between them
i hope this helps!!
Actually there are 3 storage options 1. Local storage 2. Session storage 3. Indexed db the 3rd one is more powerful than other storages and it’ll store more data types compared to other storages