S.No URL URI 1URL stands for Uniform Resource LocatorURI stands for Uniform Resource Identifier 2URL is a subset of URI that specifies where an identified resource is available and the mechanism for retrieving it.Meachanism actually means one of the potocol schemes (e.g., http, ftp, file, mailto) provided by URI.A URI is a superset of URL that identifies a resource either by location (URL), or a name(URN), or both (URL and URN).
- A URI is either a URL or a URN.
- Every URL is a URI.
- Every URN is a URI.
- A URN is never a URL.
- A URL is never a URN.
- Every URI is not a URL
- If the URL describes both the location and name of a resource, the term to use is URI. Since this is generally the case most of us encounter everyday, URI is the correct term.