To myself... You cannot truly call your self a web guru if you can't even explain the parts of a URL.

URL is one of the fundamentals to learn in web development. It stands for uniform resource locator. The browser uses a URL to make a request to a server (a kind of resource) for some information. Without URL, it's going to be impossible or even messy to locate a resource in the vast ocean of the internet.

Components

Basically, a URL is composed of 4 parts

scheme identifies the protocol to be used to access the resource
host the host name that holds the resource
path the specific resource in the host (a host can have multiple resources)
query filter/s to retrieve the desired resource

Illustration

I have included other nuances of a URL for my own reference 😃


This free site is ad-supported. Learn more