🕸️Uniform Resource Identifier (URI)
Also known as URI, URIs
A short text name for one thing, like a page, a file or an inbox.
Think of it like
Think of it like a name tag on a box. It tells you which box you mean.
Example
Emma's notes app gives one note a URI that starts with file://. A second app is handed that URI and opens the very same file.
Why it matters
Apps and protocols point at things by URI. One clear name means every program finds the same thing.
Definition
Example code
url
https://example.com/menu
file:///home/emma/todo.md
mailto:emma@example.comCommon mistake
Key takeaways
- 1Scheme first. Like https, file or mailto.
- 2Names one thing. Each URI means one thing.
- 3URL is a kind. Every URL is also a URI.