What is the definition of an absolute URL (fully qualified?)

RFC 3986 defines Uniform Resource Identifiers.

A relative reference that begins with a single slash character is
termed an absolute-path reference. A relative reference that does
not begin with a slash character is termed a relative-path reference.

  1. href="foo/bar.html" is a relative reference, specifically a relative-path reference.
  2. href="/foo/bar.html" is a relative reference with an absolute path
  3. href="http://example.com/foo/bar.html" is an absolute URI
  4. href="//example.com/foo/bar.html" is a network-path reference

A relative reference that begins with two slash characters is termed a network-path reference; such references are rarely used.

Leave a Comment