HTML and CSS Reference
2. What do you need to do to designate a page as available offline?
B. Specify the manifest attribute on the form element.
C. Specify the manifest attribute on the HTML element.
D. Tell users to switch to offline mode using their browser. No code is required.
Which of the following aren't valid sections of the AppCache manifest?
4. Which event is fired by the AppCache object when the cache download is complete?
5. When using the Geolocation API, how do you configure the ability to use cached data?
A. Set the enableCache property to true on the PositionOptions object.
B. Set the maximumAge property to a non-zero value on the PositionOptions object.
C. Set the timeout property of the PositionOptions object.
D. Using the cache is always on to save bandwidth, so no configuration is required.
no exception. To use variables effectively, you must understand their scope and lifetime.
Declaring variables and instantiating objects consumes resources. The primary system re-
source used for variables is memory. The more memory an application uses, the greater the
potential that usage of other resources will increase also—such as battery power to support
the additional memory use. When applications drain the battery, users are less likely to use