DEV Community

Van-Loc Nguyen
Van-Loc Nguyen

Posted on

URL vs URI vs URN

URL vs URI vs URN

URI: Uniform Resource Identifier
URI identifies a logical or physical resource on the web. URL and URN are subtypes of URI.

  • URL locates a resource
  • URN names a resource A URI is composed of the following parts: scheme:[//authority]path[?query][#fragment]

URL: Uniform Resource Locator
URL is the key concept of HTTP. It is the address of a unique resource on the web. It can be used with other protocols like FTP and JDBC.

URN: Uniform Resource Name
URL uses the urn scheme. URNs cannot be used to locate a resource. A simple example given in the diagram is composed of a namespace and a namespace-specific string.

Source ByteByteGo

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay