Quantcast
Channel: aspx Tutorial - iPhone
Viewing all articles
Browse latest Browse all 2

HTML5 database storage supports

$
0
0

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.

   <scripttype="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>


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images