This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the difference between URI,URL and URN  RSS feed

 
Anuj Kumar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me the Difference between URI,URL and URN

thanks in advance..
 
rupal patel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
URI: is a string that identifies any resource. Identifying the resource does not necessarily mean we can retrieve it. URI is a superset of URL and URN

URL: URI that specify a common Internet protocol such as HTTP or FTP are also called URLs. URL is an informal term an is not used in technical specifications.

URN: A URN is an identifier the uniquely identifies a resource but does not specify how to access that resource.
 
Abhishek Asthana
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adding to Rupal's answer.

URI: Uniform Resource Identifier. This string identifies any resource by naming it. You may or may not be able to access this resource.

URL: Uniform Resource Locator. The physical address of any resource. Just like a person's street address is used for locating him, URL gives you the web address of a document online.

URN: Uniform Resource Name. Simply the name of any resource. No information about how/where to access the resource.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!