Skip to main content
Definition Website Computer and Technology

Uniform Resource Locator

Subject: Computer and Technology noun /ˈjuː.nɪ.fɔːrm ˈriː.sɔːrs ˈloʊ.keɪ.tər/ 1 definition

  1. Definition (noun)

    Entry #178 · Updated

    A Uniform Resource Locator (URL) is a standardized character string that identifies where a resource resides on a network or local system and specifies the protocol scheme required to access it. As a specialized subset of the Uniform Resource Identifier (URI), a URL combines components such as a scheme, authority (host and optional port), path, query parameters, and fragment identifier into an actionable address. Unlike a Uniform Resource Name (URN), which provides a persistent, location-independent identifier, a URL binds identification directly to an access path and endpoint.

    Common Forms

    • Absolute URL: Includes the complete scheme, authority, and path—along with optional query and fragment components—so any client can resolve the resource independently of surrounding context.

    • Relative URL: Omits the scheme and authority (such as /api/v2/users or ../assets/logo.svg) and resolves against a known base URL, keeping internal links portable across domains and environments.

    • Protocol-Relative URL: Starts with // followed by an authority and path so the client inherits the active document's scheme (http: or https:), though explicit https: URLs are now preferred to avoid insecure downgrades.

    • Non-Hierarchical (Opaque) URL: Places a scheme-specific body directly after the colon without a // host hierarchy—such as mailto:ops@example.com or data:text/plain,hello—to invoke a local handler or embed inline data.

    Example

    When a browser navigates to https://docs.example.com:8443/v2/guide?lang=en#authentication, it uses the https scheme to open a TLS connection to docs.example.com on port 8443 and requests /v2/guide?lang=en from the server. After rendering the response, the client resolves the #authentication fragment locally to jump directly to that section without transmitting the fragment over the network.