URL is a line text that is used to locate a file or an object on an internet. An URL is used by the browser to identify a single document on the internet. Because of URL’s simplicity they have becomes the most common type of Uniform Resource Identifier (URL) used for application layer addressing in TCP/IP. URL is used the resource over the internet.
URL Syntax
It is the representation of the location and access methods such as GET for a resource that is available over the internet. By providing the identification of the location the resource can be located. The resource is defined as an object that can be accesses by the internet for example: file or an image.
The general syntax for URL is : :
Scheme – Refers to access method type, that tells the way resource is to be used. It can be either an application protocol such as http or ftp or a resource type such as file. The signs such as plus (+), period (.) and hyphens (-), should only be contained in the scheme name. Schemes expressed in the lower case and are case-insensitive.
Scheme-specific-part – it is the part of the URL which comes after the scheme. This is important because various protocols and access methods require different type of quantities of information to identify a particular resource. When a URL is read, the scheme name parses the URL and informs the program the way in which the scheme-specific-part should be interpreted.
The scheme and scheme-specific-part are separated by colon: The example URL is:
In the above example “http” is the scheme and www.boddunan.com is the scheme-specific-part.