The part of the URL consists of the decomposition description:
About the URL may not be unfamiliar to everyone, the first impression is the URL.
But deep down, a lot of friends and understand some of the details, the following to do a decomposition.
Scheme://host:port/path?query#fragment:
(1). Scheme: Communication protocol, commonly used Http,ftp,maito, etc.
(2). Host: Host, server (computer) domain Name System (DNS) hostname or IP address.
(3). PORT: Port number, integer, optional, omit when using the default port of the scenario, such as HTTP, the default port is 80.
(4). Path: A string separated by 0 or more "/" symbols, typically used to represent a directory or file address on a host.
(5). Query: Queries, optional, for dynamic Web pages (such as using CGI, ISAPI, php/jsp/asp/asp. NET and other technical Web pages) pass parameters, can have multiple parameters, separated by the "&" symbol, the name and value of each parameter is separated by the "=" symbol.
(6). Fragment: Information fragment, string, used to specify a fragment in a network resource. For example, there are multiple noun interpretations in a Web page, and you can use fragment to navigate directly to a noun interpretation. (also known as anchor Point)
Components of the URL are decomposed