HTML5 provides some very powerful JavaScript and HTML APIs to help developers build wonderful desktop and mobile applications. This article will introduce five new types of APIS, hoping to help your development work.
1. Full Screen API)
This API allows developers to program Web applications to run in full screen, making Web applications more like local applications.
2. Page Visibility API (Page Visibility API)
This API can be used to detect the visibility of a page to a user, that is, to return the status changes of the page or tag currently browsed by the user.
3. getUserMedia API
This API allows Web applications to access cameras and microphones without using plug-ins.
4. Battery API)
This is an API for mobile device applications, mainly used to detect device battery information.
5. Link Prefetching
Pre-load webpage content to provide a smooth browsing experience for viewers.