With HTML5 web storage, websites can store data on a user's local computer.
Before HTML5, we had to use JavaScript cookies to achieve this functionality.
...
The Advantages of Web Storage
- More secure
- Faster
- Stores a larger amount of data
- Stored data is not sent with every server request
Note:
Local storage is per domain. All pages from one domain can store and access the same data.
by Valeri Tandilashvili
4 years ago
HTML
1
Pro tip: use ```triple backticks around text``` to write in code fences