Difference between URI and URL

Possible Duplicate:
What's the difference between a URI and a URL?

How are URI and URL distinguished?


A URL is a type of URI.

Having said that, most people use the two terms interchangeably.

From wikipedia (URL):

In computing, a Uniform Resource Locator (URL) is a Uniform Resource Identifier (URI) that specifies where an identified resource is available and the mechanism for retrieving it.

So, a URI identifies a resource (acts as its ID), a URL specifies the resource location.


查找URI详细信息。

Diff between URL and URI


URI - Uniform Resource Identifier

URL - Uniform Resource Locator

A URI identifies a resource by meta-information of any kind.

A URL locates a resource on the net, which means if you have a URL and the appropriate protocol you can retrieve the resource.

One characteristic of a URI is, that it gives information about exactly one resource. Another is there can be more than one URI describing the same resource.

链接地址: http://www.djcxy.com/p/12102.html

上一篇: 定位和识别资源的区别在哪里?

下一篇: URI和URL之间的区别