A uniform resource locator (URL) is the address of a resource on the Internet. A URL indicates the location of a resource as well as the protocol used to access it.
A URL contains the following information:
Also known as a Universal Resource Locator (URL) or Web address. A URL is a type of uniform resource identifier (URI). In common practice, the term URI isn't used, or is used synonymously with URL, even though this is technically incorrect.
Tim Berners-Lee and the Internet Engineering Task Force working group is credited with developing the URL in 1994. It is formally specified in RFC 1738.
All URLs are presented in the following order:
So, the format will look like this:
This looks more complex that it is. The most common schemes (protocols) are HTTP and HTTPS, which any WWW user will recognize. The location of the server is generally a domain name. Given this, the following URLs are much more simple to understand:
Both these URLs indicate that there is a file named default.htm on a server with the address of "google.com". One uses regular HTTP, while the other uses a secure version of this scheme.
Two common elements of confusion about URLs:
Finally, the following URL demonstrates a fragment identifier, more commonly known as a querystring:
This is saying that to use the HTTP protocol to send a request to the website at google.com (over port 80) and to ask for "some-page" and send in the search variable "hello". This is why you'll sometimes see an extremely long URL as many variables are being sent to the Web server in more interactive Web applications.
Read More »