scheme
The first part of a URL, such as https or http, which says how to reach the resource.
In more detail
Other schemes include mailto for email links and data for inline content. The scheme is part of the origin, so http://example.com and https://example.com are different origins.
Related terms
- origin — The scheme, host and port a web page came from, such as https://app.example, which browsers use to decide what the page may access.
- URL — A web address, such as https://example.com/docs, made of a scheme, a host, an optional port and a path.
Taught in
- Same-Origin Policy, CORS Preflight, Credentials And Headers — Frontend Architecture & Web Platform