Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Uniform Resource Locator


 

A Uniform Resource Locator, URL (pronounced as "earl" ( SAMPA: [@rl]) or spelled out), or web address, is a standardized address for some resource (such as a document or image) on the Internet. First created by Tim Berners-Lee for use on the World Wide Web, the currently used forms are detailed by IETF standard RFC 2396 (1998).

The URL was a fundamental innovation in the

history of the Internet.

The syntax is designed to be generic, extensible, and able to express addresses in any character set using a limited subset of ASCII characters (for instance, whitespace is never used in a URL). URLs are classified by the "scheme" which typically identifies the network protocol used to retrieve the resource over a computer network.

1 Definition

1.1 URIs and URLs

URLs are one type of URI. Historically, the terms have been used almost synonymical as almost all URIs have also been URLs. For this reason, many definitions in this article mention URIs instead of URLs; the discussion applies to both URIs and URLs.

1.2 URL Scheme

An URL begins with the name of its scheme, followed by a colon, followed by a scheme-specific part.

Some examples of URL schemes (see also [1]):

See also [2]

1.3 Generic URI Syntax

The syntax of the scheme-specific part depends on the requirements of the scheme. Schemes using typical connection-based protocols use a common "generic URI" syntax, defined below:

scheme://authority/path?query

The authority typically consists of a hostname or IP address of a server, optionally followed by a colon and a port number. It may in fact also contain information on username and password for authenticating to the server.

The path is a specification of a location in some hierarchical structure, using a slash ("/") as delimiter between components.

The query part is typically intended to express parameters of a dynamic query to some database residing on the server.

1.4 URI References

The term URI reference means a particular instance of a URI as it is being used in, for instance an HTMLHyperText Markup Language (HTML) is a markup language designed for creating web pages, that is, information presented on the World Wide Web. Defined as a simple "application" of SGML, which is used by organizations with complex publishing requirements, HT document. It introduces two new concepts: the one of absolute and relative references, and that of a fragment identifier.

An absolute URL is just like a URL defined above. A relative URL comprises just the scheme-specific part, where the scheme is inferred from the context in which the URL reference appears (the Base URI).

A URI reference can also consist of a URI followed by a hash sign ("#") and a pointer to within the resource referenced by the URI as a whole. This is not a part of the URI as such, but is intended for the "user agent" (browser) to interpret after the resource has been retrieved. Therefore it is never sent to the server in HTTP GET requests.

examples:

http://www.wikipedia.org/w/wiki.phtml?title=Train&action=history http://www.wikipedia.org/wiki/Train#Model_railways

Read more »

Non User