HTML DOM Geolocation coords.accuracy Property
In this article, we will discuss the Geolocation accuracy property. Geolocation in HTML is used to get the geographical position of a user. The getCurrentPosition() method in this geolocation returns an object on success.
HTML Geolocation coords.accuracy Property: This property will return the accuracy of the location as a decimal number
Example: The following HTML program returns the accuracy.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.