What are the different types of Web Storage provided by HTML5?
1 Like
HTML web storage provides two objects for storing data on the client:
-
window.localStorage
- stores data with no expiration date -
window.sessionStorage
- stores data for one session (data is lost when the browser tab is closed)