A Uniform Resource Locator (URL) is a reference or address used to find resources on the web.
It indicates the area of a resource, like a site page, record, or administration, and the convention to be utilized for getting to it.
URLs are made out of a few parts that give data about the resource and how to get to it.
A URL is an essential part of the web, giving a normalized method for finding and access resources across various conventions and frameworks.
By understanding the parts of a URL and how they cooperate, clients can explore the web all the more really and designers can fabricate and oversee electronic applications.
Types of URLs
1.Absolute URL
Description: A complete URL including the scheme, host, and path.
Example: https://www.example.com/about-us
2.Relative URL
Description: A URL that specifies the path relative to the current page or directory.
Example: /contact-us (relative to https://www.example.com)
3.Canonical URL
Description: The preferred URL for a specific web page to avoid duplicate content issues.
Example: https://www.example.com/article-title
4.Dynamic URL
Description: A URL that includes query parameters to request specific data.
Example: https://www.example.com/search?query=web+development
5.Static URL
Description: A URL that points to a fixed resource.
Example: https://www.example.com/images/logo.png