Simple Example of HTML5 Local Storage

In this video, we’re going to show you how to create a working, though very basic, to-do list in just a few minutes. We can create advanced browsers “remember” what we type, even after it is closed or is refreshed using HTML5’s local storage.

While obviously not supported across all browsers, we can expect this method to work, most notably, in Internet Explorer 8, Safari 4, and Firefox 3.5. Note that, to compensate for older browsers that won’t recognize local storage, you should first test to determine whether window.localStorage exists.

HTML5 support

HTML5 support

Source Code:

Incoming search terms:

  • html5 local storage example
  • localstorage example
  • html5 localstorage example
  • window localstorage example
  • local storage html5 example
  • local storage example
  • localstorage html5 example
  • html5 local storage examples
12 visitors online now
4 guests, 8 bots, 0 members
Max visitors today: 16 at 01:56 am UTC
This month: 74 at 04-21-2017 07:18 pm UTC
This year: 74 at 04-21-2017 07:18 pm UTC
All time: 513 at 06-01-2016 02:24 pm UTC
Get Adobe Flash player