Components of a URL.

Q2. What are the main components of URL? Explain them briefly.
Ans. The four components of a URL are as follows:

  • Protocol: A protocol is a set of rules that computers use to communicate with one another over a network, such as the Internet.
  • Sub domain: WWW is the second component of the URL http://www.google.com. The term www specifies that the website that the user wants to access (Google, in this case) is on the Internet.
  • Domain name: Domain name is the third component of a URL, and represents the name of one or more computers that act as servers on the Internet.
  • Domain extension: The fourth component of the URL is domain extension, which specifies the type of website. The domain extension of a URL uses standard codes to represent the type of website.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: