I am trying to learn HTML 5 and I wanted to know how would HTML 5 deal with database.
I came across Web SQL database but I read that it is not being used much. What would be the simplest way to interact with database?
It would be great if someone could help me with this.
HTML5 supports different client-side storage methods which store persistent data in the browser.
Local Storage and session storage http://dev.w3.org/html5/webstorage/#the-localstorage-attribute
IndexedDB https://developer.mozilla.org/en/IndexedDB
WebSQL (currently still poorly supported and not ready for real use). WebSQL is option only if you target a specific browser (Mobile Safari / iOS). Also it looks like WebSQL will die soon http://www.w3.org/TR/webdatabase/