Why do webpages have URLs?
Short answer
A URL distinguishes a resource on the Web so a browser and a person can specify the intended page.
How it works
A URL can contain a scheme, host, and path. Similar-looking URLs can identify different destinations.