knowledge unrelated to logic
HTML URL (same resource Locator)
Something called a URL (Uniform Resource Locator) is used to address documents (or other data) on the World Wide Web. A full URL.
Example: http://www.w3school.sinaapp.com/html/lastpage.html
Follow these syntax rules:
Scheme://host.domain:port/path/filename
Scheme defines the type of Internet service. The most popular type is HTTP.
Domain defines the Internet domain name, for example: w3school.sinaapp.com.
Host defines the hosts in this domain. If omitted, the default HTTP-enabled host is www.
:p ORT (port) defines the port number of the host. The port number is usually omitted. The default port number is 80.
Path defines the path (a secondary path) on the server. If the path is omitted, the resource (document) is positioned at the root of the Web site.
FileName defines the name of the document. The default file name is typically default.asp or index.html, or a different file name based on the WEB server settings.
Editor's note: The English name of the URL is Uniform Resource Locator, and Chinese is also translated as "Uniform Resource Locator".
Here are some of the most popular scheme:
Schemes |
Access |
File |
Files on the local PC. |
Ftp |
Files on the FTP server. |
http |
World Wide files on the WEB server. |
Gopher |
Gopher files on the server. |
News |
Usenet newsgroups. |
Telnet |
Telnet connection. |
WAIS |
WAIS files on the server. |
Example:
FTP download
<a href= "Ftp://www.axxxx.xxxx.xxx/ftp/winzip.exe" >download</a>
HTML Script
HTML Advanced Tutorial 1