- URI Uniform Resource Identifier Uniform Resource Identifier
- URL Uniform Resource Locator Uniform Resource Locator
- URN Uniform Resource Name Uniform Resource name
Wikipedia:
URL: URL is a kind of URI, not only identifies the Internet resources, but also specifies the operation or acquisition method, while pointing out the main access mechanism and network location.
URN: A urn is a URI that identifies a resource with the name of a particular namespace. Urns can be used to discuss resources without knowing their network locations and access patterns.
The URL is similar to the address, which tells you where the target is located (this location may be more than one person).
A URN is similar to a person's name, used to uniquely identify an entity (a name may be used by many people).
Example:
http://Bitpoetry.io/posts/hello.html#intro
Analysis:
1 // ways to access resources 2 http://3// location of resource storage 4 bitpoetry.io/posts/hello.html 5// resource 6 #intro
The URL in this example:
http://bitpoetry.io/posts/hello.html
Urn in this example:
Bitpoetry.io/posts/hello.html#intro
Excerpted from Jobbole
Related StackOverflow
The difference between a URL, a URI, and a urn