What is the difference between URL and URI?

What is the 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. There are other type of resources than Web pages, but that's the easiest conceptually.

A URI is a unique identifier to usually a namespace.
Though it looks like a URL but it doesn’t have to necessarily locate any resource on the web.

URI is a generic term. URL is a type of URI.

What is the difference between URL and URI?

URI - Uniform Resource Identifier: it’s a string and its responsibility is to identify a resource by meta-information. It gives information about only one resource.

URL - Uniform Resource Locator: identifies the resource on the net and tells it is obtainable using what protocols.
What is the Pre-Compilation feature of ASP.NET 2.0?
What is the Pre-Compilation feature of ASP.NET 2.0? - the pre-compilation feature is used with which an entire site is precompiled before it is made available to users...
How can we create custom controls in ASP.NET?
How can we create custom controls in ASP.NET? - Custom controls are user defined controls. They can be created by grouping existing controls..
What is an application domain? - ASP.NET
What is an application domain? - It's a way in CLR to maintain a boundary between various applications to ensure....
Post your comment
Discussion Board
about interviews on IT companies
What is the best introduction if interviewr ask for?
manender dutt 08-28-2012