WHAT IS THE USE OF LOCALSTORAGE IN HTML5 ?

AVADHESH PATEL

Total Post:257

Points:1285
Posted by  AVADHESH PATEL
HTML5 
 4128  View(s)
Ratings:
Rate this:
  1. AVADHESH PATEL

    Post:257

    Points:1285
    What is the use of localStorage in HTML5 ?

    <script type="text/javascript">
    localStorage.name="PCDS";
    document.write(localStorage.name);
    </script>
    <script type="text/javascript">
    localStorage.address="Mumbai India..";
    document.write(localStorage.address);
    </script>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!