URL (Uniform Resource Locator)
URL (Uniform Resource Locator) is usually defined as a string leading to an address. This is a very commonly used way to locate resources on the web. It provides a way to retrieve the physical location, by describing the network location or primary access mechanism.
The protocol described in the URL is used to retrieve the resource and the resource name. The URL contains http / https at the top if it's a web-type resource. Similarly, the URL will start with ftp if the resource is a file and with mailto if the resource is an email address.
The syntax of a URL is shown below where the main body is used for the protocol and the remainder is used for the resource, including the site name or program name.
https://tipsmake.com/genshin-impact-a-detailed-guide-for-the-beginners-genshin-impact
Here, the domain name describes the server (web service) and the program name (path to the directory and file on the server).
URI (Uniform Resource Identifier)
Similar to a URL, a Uniform Resource Identifier (URI) is also a string of characters that identifies a resource on the web using the location, name, or both of these elements. It allows for uniform identification of resources.
The URI is also grouped as a locator, name, or both of these (suggesting it can describe a URL, URN, or both). The word 'identifier' in the URI refers to resources, regardless of the technique used.
The "UR" part of the URI is the same as in the URL, where a protocol is used to specify the method to access the resource and the name of the resource is further covered in the URL. URLs can be a type of URI that is not persistent. URN (Uniform Resource Name) needs to be unique and global.
URL is a "subset" of the URI
The difference between the URL and the URI
URLncG1vNJzZmismaXArq3KnmWcp51kwamxjJ2gn56Vp7Kvr8RmmZ6sp5qyr3nToZxmraKheqK6w2aroZ1dqr%2Bq