- URL, URI and URN
relationship:
URI includes URL and URN, the latter two are subsets of URI.
Concepts:
URI: Uniform Resource Identifier (Uniform Resource Identifier)
URL: Uniform Resource Locator (Uniform Resource Locator), which provides the resource address and enables people to find the resource through the address.
URN:, Uniform Resource Name, provides a name that people can talk about without knowing the location of its resource.
Format:
URI: Protocol: + IP: Port number + Resource specific address
The basic form of the address on the WEB is URI, there are two forms: URL and URN.
Especially with regard to the same-origin policy with XSS, these concepts need to be differentiated.