top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is the difference between URL, URI and URN?

+1 vote
78 views
What is the difference between URL, URI and URN?
posted Mar 6, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

URL - Uniform Resource Locator
It contains information about how to fetch resource from its location
Ex :- http://firsturl.com/
URL always starts with a protocol “http”, having host name and document path

URN :- Uniform Resource Name
It identifies a resource by name. It always starts with a prefix urn:
Ex :- url:number:76d76s

URI - Uniform Resource Indicator
It encompasses both URLs and URNs.
Ex :- Data URI contains information in a given way
data:Hello%20World

It is not a URL nor URN because URI contains the data.

answer Mar 7, 2016 by Neha Gupta
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...