HTML web storage provides two objects for storing data on the client:
|
Before using web storage, check browser support for localStorage and sessionStorage:
Example:
HTML
<script>
if (typeof(Storage) !== "undefined") {
// Code for localStorage/sessionStorage.
} else {
// Sorry! No Web Storage support..
}
</script>
Reffered: https://www.w3schools.com/html/html5_webstorage.asp
What is HTML Web Storage API | HTML Web Storage API |
What is HTML Web Storage? | HTML Web Storage API |
What Browsers will Support HTML Web Storage API | HTML Web Storage API |
How to create HTML Web Storage Objects | HTML Web Storage API |
How to create HTML localStorage Object | HTML Web Storage API |
How to create HTML sessionStorage Object | HTML Web Storage API |
Example of HTML Web Storage Objects | HTML Web Storage API |
Read Full: | HTML Web Storage API |
Category: | Web Tutorial |
Sub Category: | HTML Web Storage API |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 35 |