A URL (Uniform Resource Locator), is a universal identifier on the web. A URL is a reference to a web resource at a specific location, and provides a means for retrieving that resource.
The syntax and parsing behavior for URLs is defined in the URL Living Standard web page - this is the current URL standard.
Basically URL has 3 parts:
- the URL prefix, which specifies the protocol used to access the location
- the server name or IP address of the server
- the path to the directory or file(resource)