Difference between revisions of "Uniform Resource Locator"
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 1: | Line 1: | ||
A '''uniform resource locator''' ('''URL''') is a [[reference]] to a [[resource]] that specifies the [[location of the resource]] on a [[computer network]], and a [[mechanism for retrieving it]]. | A '''uniform resource locator''' ('''URL''') is a [[reference]] to a [[resource]] that specifies the [[location of the resource]] on a [[computer network]], and a [[mechanism for retrieving it]]. | ||
− | |||
− | |||
== Example == | == Example == |
Revision as of 07:07, 4 February 2016
A uniform resource locator (URL) is a reference to a resource that specifies the location of the resource on a computer network, and a mechanism for retrieving it.
Example
A typical URL has the form:
http://www.example.com/index.html
The above example indicates:
- The protocol type (http)
- The domain name (www.example.com)
- The specific web page (index.html)
Note that web servers commonly recognize index.html as a default file name. On such servers, this URL behaves exactly the same:
http://www.example.com
The URL also behaves the same with a forward slash, which many web servers automatically use:
http://www.example.com/
URL is specific type of URI
A URL is a specific type of uniform resource identifier (URI). Many people use the two terms interchangeably.
A URL implies the means to access an indicated resource, which is not true of every URI.
Uses
URLs occur most commonly to reference web pages (http), but are also used for file transfer (FTP), email (mailto), database connectivity, and many other applications.
Browsers
Most web browsers display the URL of a web page above the page in an address bar.