Latest web development tutorials


URL is a web address.

URL may consist of letters, such as "", or Internet Protocol (IP) address: Most people enter the site to use domain names to access, because the name is easier to remember than numbers.

URL - Uniform Resource Locator

Web browser requests a page from the Web server URL.

When you click on a link in an HTML page, the corresponding tag points to an address <a> World Wide Web.

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

Instance of a web page address: syntax rules:

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


    • scheme - type definition Internet services. The most common type is http
    • host - the domain host (default host is http www)
    • domain - the definition of Internet domain names, such
    • : Port - defines the port number on the host (http default port number is 80)
    • path - the path to define the server (If omitted, the document must be in the root of your Web site).
    • filename - name of the custom document / resource

Common URL Schemes

Here are some URL scheme:

Scheme 访问 用于...
http 超文本传输协议 以 http:// 开头的普通网页。不加密。
https 安全超文本传输协议 安全网页,加密所有信息交换。
ftp 文件传输协议 用于将文件下载或上传至网站。
file   您计算机上的文件。

URL Character Encoding

URL can only use the ASCII character set .

To be sent via the Internet. Since the URL often contains characters outside the ASCII set, URL must be converted to a valid ASCII format.

URL encoded using "%" followed by two hexadecimal numbers to replace the non-ASCII characters.

URL can not contain spaces. URL encoding typically use + to replace spaces.

Online examples

If you click on the "Submit" button, the browser will be URL encoded before sending input. Page on the server will show the received input.

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

URL coding examples

字符 URL 编码
£ %A3
© %A9
® %AE
À %C0
Á %C1
à %C3
Ä %C4
A %C5

For a complete URL coded reference, please visit our URL coded reference manual .