Uniform Resource Locator ( Url )

1696 Words Nov 7th, 2016 7 Pages
Uniform Resource Locator (URL): It is a reference (address) to a resource on the internet. [1] Most of the URLs refer to a file on some machine on the network. However, a few URLS point to other resources on the network such as database queries and command output. URLs are mostly to reference web pages (http). But URLs are also used for file transfer (ftp), email (mailto), database access (JDBC) amongst other applications. [2] URLs are used to access HTML pages from the Web. A URL has two main components:
1) Protocol identifier. For example, in the URL http://www.demo.com/index.html, the protocol identifier is http.
2) Resource name. For example, in the URL http://www.demo.com/index.html, the resource name is www.demo.com/index.html.
The protocol identifier and the resource name are separated by a colon and two forward slashes. The protocol identifier indicates the protocol to fetch the resource. There are many protocols one of which is http. Similarly, there are various types of resources on the net. The resource name is the address of the resource. The format of the resource name is dependent on the protocol identifier. However, for many protocols, the resource name includes one or more of the following components:
1) Host Name: the name of the machine on which the resource is.
2) Filename: the pathname of the file on that machine.
3) Port Number: the port number to which to connect (optional).
4) Reference: a reference to a named anchor with a resource that usually…
Open Document