mozilla

Revision 478261 of Web API reference

  • Revision slug: Web/Reference/API
  • Revision title: Web API reference
  • Revision id: 478261
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

The Web offers a wide variety of APIs to perform various useful tasks. These can be accessed using JavaScript code, and let you do anything from make minor adjustments to any {{domxref("window")}} or {{domxref("element")}}, to generating intricate graphical and audio effects using APIs such as WebGL and Web Audio.

Each individual interface across all APIs is listed in the index.

Document Object Model
The DOM is an API allowing to manipulate, that is access and modify the current document. It allows to manipulate its {{domxref("Node")}} and {{domxref("Element")}}. Both HTML and SVG have extended it to manipulate their specific elements.
Devices APIs
This set of APIs allows to access the different hardware features available to Web pages and applications. E.g. Ambient Light Sensor API, Battery Status API, Geolocation API, Pointer Lock API, Proximity API, Device Orientation API, Screen Orientation API, Vibration API.
Communication APIs
These APIs let Web pages and applications to communicate with other pages or devices. E.g. Network Information API.

{{LandingPageListSubpagesPlus({"community": { "name": "Web API", "listname": "dev-webapi", "newsgroup": "mozilla.dev.webapi", "channel": "webapi" }, "related": { "articles": ["\/en-US\/docs\/Web\/API"] } } )}}

Revision Source

<p><span class="seoSummary">The Web offers a wide variety of APIs to perform various useful tasks. These can be accessed using JavaScript code, and let you do anything from make minor adjustments to any {{domxref("window")}} or {{domxref("element")}}, to generating intricate graphical and audio effects using APIs such as <a href="/en-US/docs/Web/WebGL">WebGL</a> and <a href="/en-US/docs/Web_Audio_API">Web Audio</a>.</span></p>
<p>Each individual interface across all APIs is listed in the <a href="/en-US/docs/Web/API">index</a>.</p>
<dl>
  <dt>
    <a href="/en-US/docs/DOM">Document Object Model</a></dt>
  <dd>
    The DOM is an API allowing to manipulate, that is access and modify the current document. It allows to manipulate its {{domxref("Node")}} and {{domxref("Element")}}. Both HTML and SVG have extended it to manipulate their specific elements.</dd>
  <dt>
    Devices APIs</dt>
  <dd>
    This set of APIs allows to access the different hardware features available to Web pages and applications. E.g. <a href="/en-US/docs/WebAPI/Using_Light_Events">Ambient Light Sensor API</a>, <a href="/en-US/docs/WebAPI/Battery_Status" title="WebAPI/Battery_Status">Battery Status API</a>, <a href="/en-US/docs/Using_geolocation" title="Using_geolocation">Geolocation API</a>, <a href="/en-US/docs/WebAPI/Pointer_Lock" title="API/Pointer_Lock_API">Pointer Lock API</a>, <a href="/en-US/docs/WebAPI/Proximity" title="WebAPI/Proximity">Proximity API</a>, <a href="/en-US/docs/WebAPI/Detecting_device_orientation" title="WebAPI/Detecting_device_orientation">Device Orientation API</a>, <a href="/en-US/docs/WebAPI/Managing_screen_orientation" title="WebAPI/Detecting_device_orientation">Screen Orientation API</a>, <a href="/en-US/docs/WebAPI/Vibration" title="WebAPI/WebBluetooth">Vibration API</a>.</dd>
  <dt>
    Communication APIs</dt>
  <dd>
    These APIs let Web pages and applications to communicate with other pages or devices. E.g. <a href="/en-US/docs/WebAPI/Network_Information" title="WebAPI/Network_Information">Network Information API</a>.</dd>
</dl>
<p>{{LandingPageListSubpagesPlus({"community": { "name": "Web API", "listname": "dev-webapi", "newsgroup": "mozilla.dev.webapi", "channel": "webapi" }, "related": { "articles": ["\/en-US\/docs\/Web\/API"] } } )}}</p>
Revert to this revision