Skip to main content
Skip table of contents

Parts of a URL

A URL consists of ten parts: the scheme, subdomain, top-level domain, second-level domain, subdirectory, parameter, port, path, query, and fragment. While a URL doesn’t have to contain all of these parts at once, it will always have at least three of them.

Below is an illustration of the basic parts of a URL. A URL will always have a scheme or protocol, a domain name, and path:

PrestoSports_PartsOfAURL.jpg

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.