nerdexam
CIW

1D0-720 · Question #89

What does the HTML5 Geolocation API provide?

The correct answer is A. User's current geographical location. Option A is correct because the HTML5 Geolocation API is specifically designed to retrieve a user's current geographical position (latitude, longitude, and optionally altitude/accuracy) through the browser, using GPS, Wi-Fi, or cell tower data. Option B describes cryptographic…

HTML5 APIs

Question

What does the HTML5 Geolocation API provide?

Options

  • AUser's current geographical location.
  • BData encryption for secure data transfer.
  • CConnection to external databases.
  • DAn interface for audio and video playback.

How the community answered

(51 responses)
  • A
    94% (48)
  • B
    2% (1)
  • C
    4% (2)

Explanation

Option A is correct because the HTML5 Geolocation API is specifically designed to retrieve a user's current geographical position (latitude, longitude, and optionally altitude/accuracy) through the browser, using GPS, Wi-Fi, or cell tower data. Option B describes cryptographic protocols like TLS/SSL, which are handled at the network layer - entirely unrelated to geolocation. Option C refers to database connectivity, which is handled by server-side technologies or APIs like IndexedDB and Web SQL, not geolocation. Option D describes the <audio> and <video> HTML elements or the Web Audio API, which deal with media playback, not location.

Memory tip: Think "Geo = Earth, Location = where you are" - the Geolocation API does exactly what its name says, nothing more. If an answer describes something other than finding where the user is on Earth, it's wrong.

Topics

#Geolocation API#Browser APIs#Location services#HTML5

Community Discussion

No community discussion yet for this question.

Full 1D0-720 Practice