Work offline with HTML5 web storage

Use web storage to add offline capabilities

From the developerWorks archives

Kris Hadlock

Date archived: January 4, 2017 | First published: October 02, 2012

HTML5, the new HTML standard, supports a wide array of new functions and layout techniques. It fully supports multimedia, CSS3, and drawing capabilities with canvas and Scalable Vector Graphics (SVG). HTML5 offers new semantic elements, and also provides a legitimate way to create HTML web applications using application cache, JavaScript workers, a new version of XMLHttpRequest, and something called web storage. This article discusses the power of web storage and why it's a better storage method than cookies. Learn about the basic concepts, browser support, and the HTML5 web storage objects.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Web development
ArticleID=837992
ArticleTitle=Work offline with HTML5 web storage
publish-date=10022012