what are the parts of a url called
A URL technically has five parts: the protocol, the domain name, the path, the directory and the file name. Consider the URL http://coolexample.com/funky/music.html. The protocol is http://, the domain name is coolexample.com, the path is /funky/music.html, the directory is /funky/ and the file name is /music.html.