Five powerful HTML5 API functions you may not know

Source: Internet
Author: User

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.