.NET by Patrik

URI Types

URIs are categorized into two main types: URLs (Uniform Resource Locators) and URNs (Uniform Resource Names).

URL (Uniform Resource Locator)

  • A URL is a type of URI that specifies the location of a resource on the internet or a network.
  • It typically consists of several components, including the scheme (e.g., "http" or "https"), the host (domain name or IP address), and the path to the resource.
  • Example: https://www.example.com/path/to/resource

URN (Uniform Resource Name)

  • A URN is a type of URI used to identify a resource by name in a particular namespace uniquely.
  • Unlike URLs, URNs are meant to identify resources even if their location changes persistently.
  • Example: urn:isbn:0451450523

Comments

Leave a Comment

All fields are required. Your email address will not be published.