The Anatomy of a URL

Let's deconstruct URLs in this lesson!

The anatomy of a URL

A URL, or Uniform Resource Locator, is used to locate files that exist on servers.

Think of URLs as instructions for a client, telling them exactly where to get a certain web page.

URLs consist of the following parts:

  • The protocol in use
  • The hostname of the server
  • The location of the file
  • The arguments to the file

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy