11.25. HTML uniform Resource Locator

发布时间 : 2025-10-25 13:33:10 UTC      

Page Views: 10 views

URL is a web address.

URL can consist of letters, such as “runoob.com”, or the Internet Protocol (IP) address: 192.68.20.50. Most people go to the website and use the domain name of the site to visit, because names are easier to remember than numbers.

11.25.1. URL-uniform Resource Locator

The Web browser requests a page from the Web server through URL.

When you click a link on the HTML page, the corresponding the label points to an address on the World wide Web.

A uniform Resource Locator (URL) is used to locate documents on the World wide Web.

scheme://host.domain:port/path/filename 

Description:

  • scheme -define the type of Internet service. The most common type is http

  • host -define domain hosts (the default host for http is www)

  • domain -define Internet domain names, such as runoob.com

  • :port -defines the port number on the host (the default port number for http is 80)

  • path -defines the path on the server (if omitted, the document must be in the root directory of the site).

  • filename -define the name of the document / resource

11.25.2. Common URL Scheme

Here are some URL scheme:

Scheme

Visit

For.

Http

Hypertext transfer protocol

An ordinary web page that begins with http:// . No encryption.

Https

Secure Hypertext transfer Protocol

Secure web page, encrypt all information exchange.

Ftp

File transfer protocol

Used to download or upload files to the website.

File

The files on your computer.

11.25.3. URL character coding

URL can only use the ASCII character set to be sent over the Internet. Because URL often contains ASCII characters outside the collection, URL must be converted to a valid ASCII format.

URL encoding replaces non-hexadecimal numbers with “%” followed by two digits ASCII characters.

URL cannot contain spaces. URL coding is usually used + to replace spaces.

11.25.4. Online instance

If you click the submit button below, the browser will URL the input before sending it. The page on the server displays the input received.

Try typing some characters, and then click the submit button again.

11.25.5. URL coding example

Character

URL coding

80

£

% A3

©

% A9

®

% AE

Include

% C0

Á

% C1

Sch

% C2

Use

% C3

Ye

% C4

AUBG

% C5

《地理信息系统原理、技术与方法》  97

最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。