Home >Common Problem >What is the format of a Uniform Resource Locator URL?

What is the format of a Uniform Resource Locator URL?

青灯夜游
青灯夜游Original
2020-11-18 14:40:1921491browse

The format of the Uniform Resource Locator URL is "protocol://IP address or domain name/path/file name". Among them, the protocol refers to the transmission protocol, the most commonly used is the HTTP protocol, which is also the most widely used protocol in the WWW; the path refers to a string separated by zero or more "/" symbols, generally used to represent the A directory or file address.

What is the format of a Uniform Resource Locator URL?

On the WWW, each information resource has a unified and unique address on the Internet. This address is called URL (Uniform Resource Locator, Uniform Resource Locator) server), which is the uniform resource locator of WWW, which refers to the network address.

The format of the Uniform Resource Locator URL is "protocol://IP address or domain name/path/file name".

Protocol

Specify the transport protocol to use, the following table lists the valid scheme names for the protocol attribute. The most commonly used protocol is HTTP, which is also the most widely used protocol in the WWW.

  • file resources are files on the local computer. Format file:///, note that there should be three slashes after it.

  • ftp Access resources via FTP. Format FTP://

  • gopher Access this resource through the Gopher protocol.

  • http Access this resource via HTTP. Format HTTP://

  • #https Access this resource via secure HTTPS. Format HTTPS://

  • #mailto The resource is an email address, accessed via SMTP. Format mailto:

  • MMS By supporting the MMS (streaming media) protocol to play this resource. (Representative software: Windows Media Player) Format MMS://

  • ed2k Access this resource through P2P software that supports the ed2k (dedicated download link) protocol. (Representative software: eDonkey) Format ed2k://

  • Flashget Access this resource through P2P software that supports the Flashget: (dedicated download link) protocol. (Representative software: Express) Format Flashget://

  • thunder Access this resource through P2P software that supports the thunder (dedicated download link) protocol. (Representative software: Thunder) Format thunder://

  • news Access this resource through NNTP.

Path

A string separated by zero or more "/" symbols, generally used to represent a directory or directory on the host. File address.

The above is the detailed content of What is the format of a Uniform Resource Locator 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
Previous article:What does webtoon mean?Next article:What does webtoon mean?