geo1.html 509 B

123456789101112131415161718
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <title>Geolocation demo step 1</title>
  5. </head>
  6. <body>
  7. <h1>Step 1: check availability of the Geolocation API</h1>
  8. <p>As a first step, let us just check whether the HTML5 Geolocation API is
  9. present in this browser or not.</p>
  10. <div id="geo"></div>
  11. <p><a href="geo2.html">Next</a></p>
  12. </body>
  13. <p><a href="geo1.js">JavaScript source</a></p>
  14. <script src="geo1.js"></script>
  15. </html>