What is URI? Can someone explain it in simple terms? or What is URI and how is it different from a UR

16 Replies, 1799 Views

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.

Messages In This Thread



Users browsing this thread: 1 Guest(s)