Loading Depth Study
Preparing your workspace
A URL is an address that identifies where a resource can be accessed and how it should be reached.
A URL can contain multiple parts. The scheme identifies the protocol, the hostname identifies the destination, the port identifies a network service when specified, the path identifies a resource, query parameters provide additional input, and a fragment points to a location within a resource. Understanding URL structure is essential for frontend and backend development.
A course page may use a URL such as https://example.com/courses/react?page=2#lessons.
https://example.com:443/courses/react?page=2#lessons https → scheme example.com → hostname 443 → port /courses/react → path ?page=2 → query #lessons → fragment
The URL identifies the protocol, destination, resource path, query data, and optional fragment.