The meaning of url in the internet is Uniform Resource Locator. URL is a representation method used to specify the location of information on the Internet's World Wide Web service program. It is a concise representation of the location and access method of resources that can be obtained from the Internet. It is the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the location of the file and what the browser should do with it.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The meaning of url in the internet is Uniform Resource Locator.
The resources available on the Internet can be represented by simple strings, and this document describes the syntax and semantics of such strings. These strings are called: "Uniform Resource Locators" (URLs).
Uniform resource locator (URL) is a representation method used to specify the location of information on the Internet's World Wide Web service program. It is a method of positioning and accessing resources that can be obtained from the Internet. Concisely expressed, it is the address of a standard resource on the Internet. Every file on the Internet has a unique URL, which contains information indicating the location of the file and what the browser should do with it.
url is used to specify the format of the location of resources such as HTML and images on the Internet. Each resource corresponds to an address on the Internet, and this URL is the URL.
url is the unified symbol of www, which is what we usually call the network address, and URLs are extensible. Generally, the uniform resource locator marks the protocol used by a computer.
url format
The url format is composed of three parts, namely the resource type, the host domain name where the resource is stored, and the resource file. There are three types of file names, such as the name, the syntax is:
protocol :// hostname[:port] / path / [;parameters][?query]#fragment
1, protocol:
The most commonly used protocol is http protocol, which is also the most widely used protocol. The format is: HTTP://
2. Hostname:
Hostname mainly stores the IP address, but some hostnames are also the username and password required to connect to the server.
3. port
port is the port number. Generally, the output protocol has a port number, and http is the default 80.
4. path
path is used to represent a directory on the host.
5. Parameters
parameters are mainly used to specify optional parameters.
6, query
query is to pass parameters to dynamic web pages. If multiple parameters appear, the parameters must be separated by symbols.
7. fragment
fragment is a string, mainly used for fragments in network resources.
Classification of url
Relative URL
The path relationship between the path where the file is located and other files, used to represent the file Location. If it is in the same directory, the URL of this file is the name of the current file. The relative path URL is relatively short.
Absolute URL
The absolute URL will display the full path of the file, usually preceded by a domain name.
URL case
URL is generally case-sensitive, but when the server receives a request with different case, the server's reply is identical.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the meaning of url in internet. For more information, please follow other related articles on the PHP Chinese website!