URI stands for Uniform Resource Identifier, which is a string of characters used to identify a resource by either its name, address or both. URI has two sub-branches:

  • URI that specifies the name is called URN (Uniform Resource Name)
  • URI that specifies the location is called URL (Uniform Resource Locator)

The identifier that specifies both name and location is URI. Since two or more resources can have the same name, that is the reason why we are more familiar with URLs instead of URNs.

 

BY Best Interview Question ON 07 Apr 2023