What is the Full Form of URL?
URL stands for “Uniform Resource Locator.” It’s a reference (an address) to a resource on the Internet. In simpler terms, a URL is the web address you type into a browser to find a specific website or page. It specifies the location of a resource (such as a webpage) on the internet.
History of URL
The concept of the URL was developed in 1994 by Tim Berners-Lee, the inventor of the World Wide Web, and the team at the World Wide Web Consortium (W3C). This development was part of the larger project of creating the web and defining how information could be easily accessed and shared via hyperlinks. The URL structure was a key part of this, as it provided a standard way to locate resources on the internet.
Various Types of URL
URLs can be categorized based on their use and structure:
- Absolute URLs: These provide the full path to a resource, including the protocol (like http or https), domain name, and specific file or page.
- Relative URLs: Used within a website to point to resources within the same domain.
- Static URLs: These URLs do not change and always point to the same page.
- Dynamic URLs: Often include a query string (like ?id=123) and point to content that can change based on parameters in the URL.
Different Parts of the URL
A typical URL consists of several components:
- Scheme/Protocol: Like http or https, it defines how the resource will be retrieved.
- Domain Name: Identifies the site (like www.example.com).
- Port: Optionally specifies the port number to connect to (default is 80 for http).
- Path: The specific file or page on the server.
- Query String: Optional parameters for dynamic content.
- Fragment: An optional internal page reference (like #section1).