Seneca

Uniform Resource Locators (URLs)

Computer Science: KS3, topic 5.1.5

Uniform Resource Locators (URLs)

A URL is a unique identifier for a resource on the Internet. A URL 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.
  • The path specifies where the file should be located on the server.

Test yourself on Uniform Resource Locators (URLs)

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

  • Select the correct part of a URL from each pair.

  • Which part of a URL controls whether the connection to the server is encrypted?

  • Two web pages have different URLs. What does this tell us about the two web pages?

Practise this topic for free