Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

url
dns
http
www
website

What is a URL?

Educative Answers Team

A Uniform Resource Locator (commonly known as a URL) is a link or a string that is used to reach a particular web page. A URL is made up of three parts:

  • Protocol
  • Hostname
  • Resource location
svg viewer

Explanation

URLs are not as simple as they appear in the above illustration.

Suppose a user wants to buy a course on educative.io.

Broken down, the anatomy of this URL looks like this:

  1. Protocol: The protocol is https://www..
  2. Hostname: The domain/hostname is educative.io.

This can also be explained through DNS.

  1. Resource location: The location of the resource that the user desires to view is /courses/database-design-fundamentals.

RELATED TAGS

url
dns
http
www
website
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring