discuss the components of a URL with an example.
Answers
Answered by
1
A URL usually consists of the following components:
- Protocol – the method used to process the URL eg. http or https.
- Domain – the domain name eg. ...
- Path – the section and page on the site.
- Hash – identifies a section within the page.
- Query String – key/value parameters containing dynamic data passed to the page.
Answered by
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