Home > Web Front-end > Front-end Q&A > What does api mean in html5

What does api mean in html5

WBOY
Release: 2022-01-18 10:30:52
Original
3202 people have browsed it

In HTML5, api is the abbreviation of "application programming interface", which means "application programming interface". It is a collection of access coding instructions and standard interfaces. You can use completed methods by calling api. The corresponding methods are provided in the corresponding functions.

What does api mean in html5

The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.

What does api mean in html5

api is application programming interface

is an interface, and others have written the functions , give you the interface to call

When developing a program, we need to call the api. Why do we need to call the api? Because we cannot complete many system operations by writing our own programs, we need to call methods written by others. This method is the API provided by others.

For example, to get the version of the browser, we only need to call a method about version to get the version information. The specific how to get it is written by others at the lower level. The same is true in HTML5. GetElementById(); these methods have become APIs. If they don't provide you with this method, you won't be able to get a DOM element. So when you look up the api documentation, you mean checking the methods written by others.

Api is an interface, and the API in HTML is no exception. They are also programming interfaces. They are a collection of interfaces that allow you to access some coding instructions and some standards. Just like sockets, they are an interface for electricity and electrical appliances. .

For example, canvas in HTML5 is an API for drawing, HTML5 API for obtaining geographical location, instant messaging API, file reading API, etc. These APIs are used to access the instruction encoding in the standard for manipulation. Corresponding operations.

I’m not talking about what the api in html5 means. It’s not unique. Other apis also have the same meaning and function.

HTML5 provides some very powerful JavaScript and HTML APIs to help developers build amazing desktop and mobile applications.

Recommended tutorial: "html video tutorial"

The above is the detailed content of What does api mean in html5. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template