How can we get the geographical position of a user in HTML5?
You can use
navigator object to get any type of client’s info.
navigator.geolocation has access to all Geolocation APIs that you can use to find the user’s location info.
Read more about it here.