---
id: html-web-apis
title: "HTML Web APIs"
category: "Frontend"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["Web API", "Application Programming Interface", "HTML5 APIs", "browser APIs", "third party APIs"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.88
created_at: 2026-06-23
updated_at: 2026-06-23
review_reason: ""
merge_history: []
tags: ["html", "web", "frontend", "w3schools", "api", "html5"]
raw_sources: ["https://www.w3schools.com/html/html5_api_whatis.asp"]
applied_in: []
github_commit: ""
---
# [[HTML Web APIs]]
## π― ν μ€ ν΅μ°° (One-line insight)
A Web API is an application programming interface for the Web that extends browser functionality and provides easy syntax to otherwise complex code; modern browsers ship several built-in Web APIs. [S1]
## π§ ν΅μ¬ κ°λ
(Core concepts)
- **API = Application Programming Interface** β an interface that includes a set of functions and subroutines allowing programmers to access specific features or data of an application, operating system, or other service. [S1]
- **Web API** β an application programming interface for the Web. It can extend the functionality of the browser, greatly simplify complex functions, and provide easy syntax to complex code. [S1]
- **Built into the browser** β all browsers include a set of built-in Web APIs. [S1]
- **Third party APIs** β APIs that are not built into the browser; to use them you download the code from the Web. [S1]
## π§© μΆμΆλ ν¨ν΄ (Extracted patterns)
- **Browser-native vs third-party** β distinguish built-in APIs (Geolocation, Drag and Drop, Web Storage, Web Workers, Server-Sent Events, Canvas) from third-party APIs you must import (YouTube, Twitter, Facebook). [S1]
- **API as an abstraction layer** β the API hides complex underlying code behind a simpler, accessible syntax. [S1]
## π μΈλΆ λ΄μ© (Details)
**What is a Web API?**
API stands for **A**pplication **P**rogramming **I**nterface. An API is some kind of interface that includes a set of functions and subroutines that allow programmers to access specific features or data of an application, operating system, or other services. A Web API is an application programming interface for the Web. [S1]
**What Web APIs can do**
A Web API: [S1]
- Can extend the functionality of the browser
- Can greatly simplify complex functions
- Can provide easy syntax to complex code
**Browser APIs**
All browsers include a set of built-in Web APIs. The Web APIs covered in this tutorial are: [S1]
| API | Purpose |
|---|---|
| Geolocation API | Used to access the current location of a user (with latitude and longitude) |
| Drag and Drop API | Enables you to use drag-and-drop features in browsers |
| Web Storage API | Mechanisms to let browsers store key/value pairs (in a more intuitive way than cookies) |
| Web Workers API | Allows a JavaScript to run in the background, without affecting the performance of the page |
| Server-Sent Events API | Allows a web page to automatically get updates from a server |
| Canvas API | Lets you draw graphics, on the fly, via JavaScript |
**Third party APIs**
Third party APIs are not built into your browser. To use these APIs, you will have to download the code from the Web. Examples include: [S1]
- YouTube API
- Twitter API
- Facebook API
## π οΈ μ μ© μ¬λ‘ (Applied in summary)
This page is an index/overview; its "applied" value is orientation β it points to the concrete API topics (Geolocation, Drag and Drop, Web Storage, Web Workers, SSE, Canvas) that each carry their own examples. No external project/commit applications found in the source.
## π» μ½λ ν¨ν΄ (Code patterns)
Not found in source β this overview page presents no code examples; concrete usage lives in the individual API topic pages (e.g. [[HTML Geolocation]], [[HTML Web Storage]]).
## βοΈ λΉκ΅ λ° μ ν κΈ°μ€ (Comparison & decision criteria)
The page distinguishes two categories of Web APIs, which guides where the implementing code comes from: [S1]
| Category | Built into browser? | How to use |
|---|---|---|
| Browser (built-in) APIs | Yes | Available natively (Geolocation, Drag and Drop, Web Storage, Web Workers, SSE, Canvas) |
| Third party APIs | No | Download the code from the Web (e.g. YouTube, Twitter, Facebook) |
## βοΈ λͺ¨μ λ° μ
λ°μ΄νΈ (Contradictions & updates)
No contradictions found in the source.
## β
κ²μ¦ μν λ° μ λ’°λ
- **μν:** draft
- **κ²μ¦ λ¨κ³:** conceptual (μ€μ μ μ© μ¬λ‘ λ°κ²¬ μ applied/validatedλ‘ μΉκ²© κ°λ₯)
- **μΆμ² μ λ’°λ:** B (W3Schools β widely used educational reference, not a primary standards body)
- **μ λ’° μ μ:** 0.88
- **μ€λ³΅ κ²μ¬ κ²°κ³Ό:** μ κ· μμ± (New discovery)
## π μ§μ κ·Έλν (Knowledge Graph)
- **μμ/루νΈ:** [[HTML Tutorial]]
- **κ΄λ ¨ κ°λ
:** [[HTML Geolocation]], [[HTML Drag and Drop]], [[HTML Web Storage]], [[HTML Web Workers]], [[HTML SSE]]
- **μ°Έμ‘° λ§₯λ½:** The entry point that frames the entire HTML5 Web APIs section.
## π μΆμ² (Sources)
- [S1] W3Schools β HTML Web APIs β https://www.w3schools.com/html/html5_api_whatis.asp
## π λ³κ²½ μ΄λ ₯ (Change history)
- 2026-06-23: Initial draft synthesized from the W3Schools "HTML Web APIs" page (Astra wiki-curation, P-Reinforce v3.1 format).