Computer Science, asked by reetlamba012345, 4 months ago

discuss the components of a URL with an example.​

Answers

Answered by lalitnit
1

A URL usually consists of the following components:

  1. Protocol – the method used to process the URL eg. http or https.
  2. Domain – the domain name eg. ...
  3. Path – the section and page on the site.
  4. Hash – identifies a section within the page.
  5. Query String – key/value parameters containing dynamic data passed to the page.

Answered by sinhasangita44
1

Answer:

A URL has two main components: Protocol identifier: For the URL http://example.com , the protocol identifier is http . Resource name: For the URL http://example.com , the resource name is example.com . Note that the protocol identifier and the resource name are separated by a colon and two forward slashes.

Similar questions