geo2.html 487 B

123456789101112131415161718
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <title>Geolocation demo step 2</title>
  5. </head>
  6. <body>
  7. <h1>Step 2: request current location</h1>
  8. <p>Since we can check the Geolocation API from <a href="geo1.html">step 1</a>,
  9. let us go one step further and use it to obtain geolocation information.</p>
  10. <p><a href="../geo3">Next</a></p>
  11. <div id="geo"></div>
  12. </body>
  13. <script src="geo2.js"></script>
  14. </html>