Detailed url part

Take the following URL for example, describes the various parts of the composition under ordinary URL

 

http://www.aspxfans.com:8080/news/index.asp?boardID=5&ID=24618&page=1#name

  can be seen from the above URL, a full URL includes the following parts:
1. Protocol part: the protocol part of the URL is "http:", which represents the web page using the HTTP protocol. More may be used in the Internet protocols, such as HTTP, FTP and the like used in this example is the HTTP protocol. In the "HTTP" behind "//" is a delimiter

2. The domain name parts: the part of the URL of the domain name "www.aspxfans.com". A URL, or you can use the IP address as the domain name

3. port sections: following the domain name is to use between the ports, the domain name and port ":" as the delimiter. Port is not a mandatory part of the URL, if you omit part of the port, the default port

4. Virtual directory section: from the first domain name after "/" beginning to the last "/" so far, is the virtual directory section. Virtual directory is not a necessary part of the URL. In this example the virtual directory is "/ news /"

The file name parts: the domain name from the last "/" beginning to date, is part of the file name, if not, is the last of a domain name after "/" to start "#" so far "?" "?" , is part of the file, if there is no "?" and "#", then the domain name from the last "/" start to finish, it is part of the file name. In this case the file name is "index.asp". Part of the file name is not a necessary part of the URL, if you omit this part, the default file name

6. anchor parts: from the "#" beginning to end, are part of the anchor. Anchor of this embodiment is "name". Anchor part of the URL is not a necessary part

7. Parameters section: from the beginning to the part of the argument between the part until the "#", also known as part of the search query part "?." Parameters of this embodiment is "boardID = 5 & ID = 24618 & page = 1". Parameter to allow a plurality of parameters, with the parameters between the parameter and the "&" as the delimiter.