HTML and CSS Reference
In-Depth Information
Browser support
Browser support for most of the
API
s discussed in this chapter is very
good. Only Internet Explorer lets things down by not supporting Web-
Sockets or the application cache, but support is being considered for a
future release.
12
14
4
6
8
9
10
11.5
12
5
5.1
Geolocation
●
●
●
●
● ● ●
●
●
●
Cross-document
messaging
●
●
●
● ● ● ● ●
●
●
●
WebSockets
●
●
●
●
● ●
●
●
●
App cache
●
●
●
●
● ●
●
●
●
Session
storage
●
●
●
● ● ● ● ●
●
●
●
Local storage
●
●
●
●
● ● ●
●
●
●
Key:
● Complete or nearly complete support
○ Incomplete or alternative support
Little or no support
Summary
This chapter has covered a selection of the most interesting
HTML5
API
s associated with networking and connectivity. You should now be
able to build apps that
Take advantage of the user's location, thanks to the Geolocation
API
❂
Communicate in a controlled way with pages on other domains
❂
Write real-time chat and game apps with WebSockets
❂