1.

Explain the concept of web storage in HTML5.

Answer»

This web storage helps in storing some of the static data in the local storage of the browser so that we do not need to fetch it from the server every time we need it. There is a size limit based on DIFFERENT BROWSERS. This helps in decreasing the load time and a smooth user experience. There are two types of web storage that are used to store data locally in HTML5:

  • Local Storage - This helps in storing data that will be retained even though the user reopens the browser. It is stored for each WEBAPP on different browsers.
  • SESSION Storage - This is used for one session only. After the user closes the browser this gets DELETED.


Discussion

No Comment Found