Home  >  Article  >  What is the Chinese name of the url?

What is the Chinese name of the url?

烟雨青岚
烟雨青岚Original
2020-06-18 13:45:0414802browse

What is the Chinese name of the url?

#What is the Chinese name of the url?

URL is the abbreviation of Uniform Resource Location, translated as "Uniform Resource Locator" . In layman's terms, URL is a string used to describe information resources on the Internet. It is mainly used in various WWW client programs and server programs, especially the famous Mosaic. URLs can be used to describe various information resources in a unified format, including files, server addresses and directories, etc.

The format of the URL consists of the following three parts:

The first part is the protocol (or service method);

The second part is the storage There is the host IP address of the resource (sometimes including the port number);

The third part is the specific address of the host resource. , such as directory and file names, etc.

The first part and the second part are separated by the "://" symbol, and the second part and the third part are separated by the "/" symbol. The first and second parts are indispensable, and the third part can sometimes be omitted.

URL example

The URL of the file: When using URL to represent a file, the server mode is represented by file, followed by the host IP address and file access. Information such as path (i.e. directory) and file name. Sometimes directory and file names can be omitted, but the "/" symbol cannot be omitted.

Example 1: file://ftp.linkwan.com/pub/files/foobar.txt

represents the pub/files/ directory on the storage host ftp.linkwan.com A file under, the file name is foobar.txt.

Example 2: file://ftp.linkwan.com/pub

represents the directory /pub on the host ftp.linkwan.com.

Example 3: file://ftp.linkwan.com/

represents the root directory on the host ftp.linkwan.com.

Gopher URL: The Gopher server may use a special port. In this case, the host IP address and port must be separated by ":.

Example 1: gopher://gopher.linkwan.com/

represents the gopher server on the host gopher.linkwan.com.

Example 2: gopher://gopher.banzai.edu :1234

represents the gopher server on the host gopher.banzai.edu, on port 1234.

URL of network news: When using URL to represent network news groups, if it is usenet If so, just specify the name of the news group.

For example: news:rec.gardening

indicates the rec.gardening news group (gardening) on ​​usenet.

HTTP URL: Use Hypertext Transfer Protocol HTTP to provide resources for hypertext information services.

Example 1: http://www.linkwan. com/111/welcome.htm

The computer domain name is www.linkwan.com. The hypertext file (file type is .html) is welcome.htm in the directory /111.

Example 2: http://www.linkwan.com.cn/talk/talk1.htm

The computer domain name is www.linkwan.com.cn. The hypertext file (file type is .html) is talk1.htm under the directory/talk. This is the address of the Red Chat Room, from which you can enter the first room of the Red Chat Room.

Disadvantages of URL

The biggest disadvantage: When the storage location of information resources changes, the URL must be changed accordingly. Therefore, people are studying new information resource representation methods, such as: URI (Universal Resource Identifier) ​​or "Universal Resource Identifier" ( See RFC 1630), URN (Uniform Resource Name), which is "Uniform Resource Name" and URC (Uniform Resource Citation), which is "Uniform Resource Reference Character", etc.

For more related knowledge, please visitPHP Chinese website!!

The above is the detailed content of What is the Chinese name of the url?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn