# HTML5 Enhancements

In WesOS 2.0, the following HTML5 functionality is supported:

- Canvas image data - The ability to read and write `canvas` image data is supported.

- Canvas gradients - The ability to use `canvas` gradient capabilities is supported. A gradient is a smooth transition between two or more colors.

- HTML5 Geolocation - You can use the browser's `navigator` object to pinpoint the user's location (with their permission).

- HTML5 Application Cache - You can specify what resources your page will require and the browser will cache them so the user can continue to use the page even if they get disconnected from the internet.

- HTML5 Local Storage - HTML5 has included a local database that is persistent through a user session. You can get required data and save it to local storage. The page there does not need to query the server to get and update data - it can use the local database. This increases app responsiveness and reduces server load. Periodically, the local database data is synced with the server.