Home/Tutorial/Difference between URI, URL and URN
Difference between URI, URL and URN 2017-01-01T10:15:40+00:00

URI = Uniform Resource Identifier
(Identify a resource of internet either by name or location. )

URL = Uniform Resource Locator
(refers to just address)

URN = Uniform Resource Name
URI = URL or URI

URI That specify location is URL
URI That specify Name is URN (public_html/wp-content/uploads/2016/10/hastech-logo-150.png)
URI That specify Name + Location is URI
A URL consists of two required component.
1. The Protocol (http://, https://, ftp://, mailto:)
2. The Domain

Optional Components:
1. Path (https://hastech.company/wp-content/uploads/2016/10/hastech-logo-150.png)
2. Port (https://hastech.company:2096/)
3. Others (https://hastech.company/#contact)
Summary –
– URIs are identifiers, and that can mean name, location, or both
– All URNs and URLs are URIs, but the opposite is not true