# Online/Offline Events One of the new HTML 5 things you can do is tell when the user loses connection. Here's an example: ```html ``` You can do this for apps that let the user work without connection and then update when connection is reestablished