A URL identifies a resource via a representation of its primary access mechanism, e.g., its network location. Here is an example of how a URL is formatted:
The name of the protocol to be used (in this example) is http. The address can be either an IP or a domain name which in our example is the domain name www.somedomain.com. The hierarchical path describes the location of the resource on the machine, in this case the folder abc. The name of the resource is index.html.