preview

A Note On Uniform Resource Locator

Better Essays

A URL (Uniform Resource Locator, previously Universal Resource Locator) is the unique address for a file that is accessible on the Internet. Such a file might be any Web (HTML) page, an image file, or a program such as a common gateway interface application or Java applet. A common way to get to a web site is to enter the URL of its home page file in web browser 's address line. However, any file within that web site can also be specified with a unique URL. So the web pages of any website are identified by the URL. It contains the name of the protocol to be used to access the file resource, a domain name that identifies a specific computer on the Internet, and a pathname, a hierarchical description that specifies the location of a file in …show more content…

E.g. www.google.com. A server provides services in the name of the host, but hosts and servers do not have a one-to-one mapping. Sometimes, a port number can also follow host names. Well-known port numbers for a service are normally omitted from the URL. Most servers use the well-known port numbers for HTTP and HTTPS, so most HTTP URLs omit the port number. The hostname is further subdivided into following

a. www (World Wide Web) - It means that resource being asked for using the website address resides in the World Wide Web ( Internet)
b. Domain name / Resource Owner – The registered domain name comes here.
c. Domain extension - It is the suffix at the end of a web address, like .com or .net. It is used to identify the nature of website. ‘.com’ means that website is of commercial nature. For example .org for organization website, ‘.edu’ for educational institutes, ‘.gov’ for government website.

3. The Path - The path identifies the specific resource in the host that the web client wants to access. For example, http://www.sample.com/htp/index.html.
4. The Query String - If a query string is used, it follows the path component, and provides a string of information that the resource can use for some purpose. The query string is usually a string of name and value pairs; for example, ‘term=analytics’ in ‘www.informationsite.com/latestinfosearch? term=analytics’. Name and value pairs are separated from each other by an

Get Access