Machine-translated by Google. Questions are authored in English.
Top

Discussion

In a URL such as https://www.example.com/page.html, which part is the protocol?

  • A.https
  • B.www
  • C.example.com
  • D.page.html

Answer: C

Correct answer: https

A URL breaks into recognisable parts, and https before the colon is the scheme or protocol - it says how the resource is to be fetched. The rest divides as follows. www is a subdomain, a conventional but entirely optional label. example.com is the domain name, of which .com is the top-level domain. /page.html is the path to the resource on that server. A URL may also carry a port after a colon, a query string after a question mark, and a fragment after a hash - the fragment being handled by the browser alone and never sent to the server. Other schemes exist besides http and https: ftp for file transfer, mailto for an email address, and file for a local file. URL stands for Uniform Resource Locator.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.