The four parts of a complete URL are the protocol (such as http:// or https://), the domain name (such as www.example.com), the path (the specific location or file on the server), and the optional parameters or queries.
At the end of the URL
file specification
File specification
path name
path name, host name then dns
An absolute path refers to the path to a file on a computer. For example, on a Unix system, an absolute path begins with a '/' and on a Microsoft Windows machine, it will begin with a drive letter, a ':' and a backslash (eg 'C:\') or a '\\' indicating a path to another computer. A relative path is the path to a file from the current directory. On a unix system this path will begin with a character other than a '/' (any other character could begin a relative path). For example, if one is currently in the directory /home/user42/ and there is a directory named /home/user42/mail/ then the relative path to mail is simply 'mail/'. If there is a directory /home/user41/songs/ then the relative path is '../user41/songs/'. If one is in the directory /home/ then the relative paths are user42/mail/ and user41/songs/, respectively.
Protocol
There are 4 main anatomy of URL 1.Name of a protocol e.g.(http://,https://) 2.Name of an a web address with www eg.(www.jobango) 3.File path e.g.(/Inspiringlives111?refid=7) 4.DOMAIN NAME e.g.(.COM, .EDU .ORG .IN .NET)
HTML pages do not create their complete URL. The URL is generated by the Web server. Part of the URL is the saved name of the HTML file (e.g. page.html). The rest of the URL depends on where the HTML document is saved on the Web server (e.g. www.webserver.com/directory/page.html). You specify the name of the Web page in the HTML file by using the <title>My Page Name</title> tags.
Think of them as addresses.Uniform Resource Locators (URLs) are used to identify documents (resources) on the InternetGeneral format of URL: scheme:object-addressThe scheme is often a communications protocol such as http,ftp,gopher,file,mailto,news..Different schemes use object addresses that have different forms.For the HTTP protocol ,the object address of URL is fully_qualified_domain_name/path_to_documentFor the file protocol, the object address of URL is file://path_to_documentURLs cannot include embedded spaces ,special characters like semicolons,colons,ampersands(&). To include space or disallowed special characters in URL ,character must be coded as a % followed by 2 digit hex ASCII code for the character.ex: if San Jose is a domain name , then we must write San%20Jose.URL paths differ form that of file path (which includes all directories on the path) -need not include all directories on the path that is URLs can have complete path or partial path.complete path ex:http://www.abc.com/files/f99/strore.htmlpartial paths: the path to the document is relative to some base path that is specified in the configuration files of the server.ex: http:/www.abc.com/store.htmlhttp:/www.abc.comhttp:/www.abc.com/dept
The last part. The part after the last forward slash ( / ).