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
3 visitors online now
1 guests, 2 bots, 0 members
Max visitors today: 8 at 12:39 am UTC
This month: 39 at 05-05-2016 01:01 am UTC
This year: 45 at 03-28-2016 04:08 am UTC
All time: 163 at 05-18-2012 06:03 pm UTC
Get Adobe Flash player