what is uri? Short answer: It’s like a super-category for URLs and URNs.
Long answer: A URI is *any* identifier, while a URL is a *locator* (tells you where to go). URNs are *names* (like book ISBNs).
Example:
- URI: `mailto:help@example.com` (not a URL, just an identifier)
- URL: `https://example.com/help` (tells you where to find it)
Devs care because APIs and hyperlinks rely on this distinction. Check out MDN’s docs (developer.mozilla.org) for deep dives.
Long answer: A URI is *any* identifier, while a URL is a *locator* (tells you where to go). URNs are *names* (like book ISBNs).
Example:
- URI: `mailto:help@example.com` (not a URL, just an identifier)
- URL: `https://example.com/help` (tells you where to find it)
Devs care because APIs and hyperlinks rely on this distinction. Check out MDN’s docs (developer.mozilla.org) for deep dives.
