Tag Archives: Uniform Resource Locator

Parts of URL

We see so many URLs everyday, but do we know what are the parts of an URL, what does each part means? In this post I will discuss the various parts of the URL.

An URL may consists of as many as 6 parts. The different parts of the URL are:

scheme://domain:port/path?query_string#fragment_id

Some people refer to the parts as:

protocol://hostname:port/pathname?search#hash

Read more »