Definition:
The URI is a string format specification and does not specify its purpose
A URL is a specification of a resource's location, including a naming scheme for accessing resources, a host name for a resource, and the name of the resource itself, represented by a path.
A URI is a lower-level abstraction of a URL, a string literal standard. That is, the URI belongs to the parent class, and the URL belongs to the subclass of the URI. A URL is a subset of the URI.
difference:
The URI represents the path to the requesting server and defines such a resource. The URL also shows how to access the resource (HTTP//)
Contact:
A URL is a specific URI that uniquely identifies a resource and provides information to locate the resource. A URI is a semantic abstraction that can be absolute or relative, and the URL must provide enough information to locate it, so it is absolute, and the usual relative URL is for another absolute URL, which is essentially absolute.
Note: the absolute (absolute) here refers to the inclusion scheme, while the relative (relative) does not include scheme.
https://www.zhihu.com/question/21950864
Http://www.cnblogs.com/gaojing/archive/2012/02/04/2413626.html
URL and Uri differences and links