18 lines
509 B
HTML
18 lines
509 B
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Geolocation demo step 1</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Step 1: check availability of the Geolocation API</h1>
|
|
<p>As a first step, let us just check whether the HTML5 Geolocation API is
|
|
present in this browser or not.</p>
|
|
<div id="geo"></div>
|
|
|
|
<p><a href="geo2.html">Next</a></p>
|
|
</body>
|
|
|
|
<p><a href="geo1.js">JavaScript source</a></p>
|
|
<script src="geo1.js"></script>
|
|
</html>
|