In this post, we will understand the difference between URL and URI −
It stands for Uniform Resource Locator.
It is used to help describe the identity of an item.
It can link a web page, a component of a web page or a program on a web page using access methods such as protocols.
It gives details about the type of protocol that needs to be used.
It is a type of URI.
It stands for Uniform Resource Identifier.
It provides a technique to define the identity of an item.
It can be used to distinguish one resource from another, irrespective of the access method being used.
It doesn’t contain any specification about the protocol.
It can be considered as the superset of URL.