aspx Tutorial

.NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services, .NET articles, Sharepoint 2010, visual studio 2010,Aamir Hasan,IT, Building Your First Web Application Project
Advertise Here

Toolbar

Get our toolbar!

Advertize



Posted by Aamir Hasan   on Tuesday, June 14, 2011 Total Views:  

Every major browser has huge support moving very fast. Web storage is based on key and value pairs. Web storage can store any type of data.

HTML5 = HTML + CSS + JS APIs

Following browsers are supports for HTML 5 web storage are:

  1. Internet Explorer 8.0, 9.0, 10.
  2. Firefox 3.5+
  3. Safari 4.0+
  4. Chrome 4.0+
  5. IPhone 2.0+
  6. Android 2.0+

 

Here’s an example to check whether your browser supports HTML 5 storage or not.

   <script type="text/javascript">

        try {

            if (window.openDatabase) {

                alert("Your browser supports HTML5 storage.");

            } else {

                alert("HTML 5 storage is not supported.");

            }

        } catch (err) {

            alert(err.Message);

        }

    </script>

Protected by Copyscape Online Plagiarism Tool

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5