For non-technical purposes you can generally consider 'URL' and 'URI' equivalent. In fact, URL is a special case of URI containing information on how to access the resource in question. Thus, since every URL is a URI (but not vice versa), 'URI' is generally preferable to 'URL', unless the identifier is known to be a locator.
URL specifies the location of the resource and also the protocol to be used.
where as URI is a name for anything that points to a resource
example:-
http:/www.xyz.com/login.jsp --> URL
www.xyz.com --> URI
URL specifies the location of the resource and also the protocol to be used.
where as URI is a name for anything that points to a resource
example:-
http:/www.xyz.com/login.jsp --> URL
www.xyz.com --> URI
No comments:
Post a Comment