Question: what are the two main parts of url?
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.