Two storage types of HTML5 are:
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 is another type of HTML5 Web Storage. In local storage, data is not deleted automatically when the current browser window is closed.