Components of the URL are decomposed

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.