HTML5 APPLICATIONS DEVELOPMENT MANUAL
lu
(lu)
#1
32 - Coding Additional HTML5 APIs
WHATWG is a consortium that was formed by Apple, the Mozilla
Foundation, and Opera Software to define and document HTML5.
This organization is different from W3C. The WHATWG HTML5
specification includes the following additional APIs in its HTML5
specification:
- Geolocation
- Web Workers
- WebSockets
- File
Geolocation
The HTML Geolocation API is used to get the geographical position
of a user.
Since this can compromise privacy, the position is not available
unless the user approves it.
The getCurrentPosition() method is used to return the user's