HTML Uniform Resource Locator
URLs can consist of words such as "w3school.com.cn", or Internet Protocol (IP) Address:192.168.1.253 . When most people surf the web, they type the domain name of the URL because the name is easier to remember than the number.
Url-uniform Resource Locator
When you click a link in an HTML page, the corresponding <a> tag points to an address on the World Wide Web.
A Uniform Resource Locator (URL) is used to locate documents (or other data) on the World Wide Web.
URLs, such as http://www.w3school.com.cn/html/index.asp, adhere to the following grammatical rules:
Scheme://host.domain:port/path/filename
Explain:
- Scheme- defines the type of Internet service. The most common type is the http
- Host- defines the domain host ( The default host for HTTP is www)
- Domain- Define Internet domain names, such as w3school.com.cn
- :p Ort- defines the port number on the host ( the default port number for HTTP is. )
- Path- defines the path on the server (if omitted, the document must be in the root directory of the Web site).
- FileName- defines The name of the document/resource
Editor's note: the English name of the URL is Uniform Resource Locator, and Chinese is also translated as " Uniform Resource Locator " .
URL schemes
Below are some of the most popular scheme :
Scheme |
Access |
For... |
http |
Hypertext Transfer Protocol |
A normal web page that starts with http://. Not encrypted. |
Https |
Secure Hypertext Transfer Protocol |
Secure Web page. Encrypt all information exchanges. |
Ftp |
File Transfer Protocol |
Used to download or upload files to a Web site. |
File |
|
The files on your computer. |
HTML-----014---Uniform Resource Locator