What is difference between URL and URI?

  • A URL (Uniform Resource Locator) is the address of some resource on the Web. A resource is nothing but a page of a site. It gives absolute path of the current page or image i.e. perfect location of the page or image.
  • While URI is Uniform Resource Identifier looks like a URL but it doesn’t have to necessarily locate any resource on the web. Like this string may have querystring and other things.

0 comments:

Post a Comment