Search This Blog

Loading...

HTML5: contenteditable and localStorage

I came across this great HTML5 tutorial by nettuts to build a very basic to-do list in a couple of minutes by using two features of HTML5.

  • contenteditable: governs just the element on which it appears, and that element's children - like a rich text editor control within a page
  • localStorage: lets you store data in key value pairs on your user’s machine. The data you store is unique to your domain, so creating a unique name for your key isn’t a huge worry.
html5 localstorage tutorial

While you can play with a demo, expect localStorage to work in Internet Explorer 8, Safari 4, and Firefox 3.5

0 comments:

Post a Comment

 
^

Powered by BloggerAn Internet Zealot by UsuárioCompulsivo
original Washed Denim by Darren Delaye
Creative Commons License