Uniform Resource Locators

Computer Science: OCR A Level, topic 3.3.7

Uniform Resource Locators (URLs)

A URL is a unique identifier for a resource on the Internet. It always follows a specific format.

Protocol

Protocol

  • The first section is the protocol.
  • The protocol is the set of rules that the browser should use to get the resource from the server.
  • Hypertext Transfer Protocol (HTTP) is a common protocol which is used for sending websites.
  • Hypertext Transfer Protocol Secure (HTTPS) is another common protocol:
  • HTTPS is also used to send websites.
  • HTTPS sends the data using an encrypted connection.
Domain

Domain

  • The next section is the domain.
  • The domain is the name of the server which is hosting the website.
Path

Path

  • The path follows the domain.
  • The path is the name of the requested file on the server and specifies where it should be located on the server.

Test yourself on Uniform Resource Locators

  • What is the purpose of the domain in a Uniform Resource Locators (URL)?

  • Which of the following are parts of the URL?

Practise this topic for free