URL is short for Uniform Resource Locator. It is a unique identifier used to locate a resource on the internet. You can think of a URL as being like the physical address of a home or business. The resources that URL’s point to can include websites, online databases, e-books, multimedia content, images and more.
A URL contains the following information:-
- The protocol used to access the information.
- The location of the server (either IP address or domain name).
- The location of the resource in the directory structure of the server.
Structure of a URL
Protocol: A URL’s protocol, transfer protocol or scheme regulates how data is sent between the host and a web browser.
Top-Level Domain: A top-level domain (TLD) is a domain at the top of the Domain Name System (DNS) hierarchy. Common TLD’s include .com, .net, .org, .co.za etc.
Path: The path specifies the precise location of a page, post, file or other resource.