URL is also known as web address.
The URL can consist of words, such as "w3school.com.cn", or an Internet Protocol (IP) address: 192.168. 1.253. Most people type the domain name of a website when they surf the web because names are easier to remember than numbers.
URL - Uniform Resource Locator(Recommended learning: HTML Getting Started Tutorial)
When you click on a link in the HTML page, the corresponding The tag points to an address on the World Wide Web.
Uniform Resource Locators (URLs) are used to locate documents (or other data) on the World Wide Web.
Web addresses, such as http://www.w3school.com.cn/html/index.asp, comply with the following grammatical rules:
scheme://host.domain:port/path/filename
Explanation:
scheme - Defines the type of Internet service. The most common type is http
host - defines the domain host (the default host for http is www)
domain - defines the Internet domain name, such as w3school.com.cn
: 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 located in the root directory of the website).
filename - defines the name of the document/resource
Note: The full English name of URL is Uniform Resource Locator, which is also translated as "Uniform Resource Locator" in Chinese. .
The above is the detailed content of What is HTML URL. For more information, please follow other related articles on the PHP Chinese website!