A Uniform Resource Locator (URL) is a web address that specifies the location of a resource, such as a web page, on the internet. It is a standardized format used to identify and access resources on the World Wide Web. A typical URL consists of several components:
- Protocol
- Domain Name
- Path
- Query Parameters
- Fragment Identifier
In this example, the protocol is “https://,” the domain name is “www.example.com,” the path is “/products/electronics,” the query parameters are “category=laptops&page=2,” and the fragment identifier is “reviews.”