Home > Article > Web Front-end > What does url mean?
In fact, when we use the Internet, we only know how to use it, but we don’t know what its name is, and we don’t understand what it does when we see it. For example, today I will talk to you The URL mentioned is actually a very common thing in our Internet life.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Have you noticed the long URL when you were browsing the webpage? In fact, that is the URL.
Let’s take a look at Baidu Encyclopedia’s explanation: URL is a unified resource locator, a concise representation of the location and access method of resources that can be obtained from the Internet. It is the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the location of the file and what the browser should do with it.
Let’s give another example:
http://www.php.cn/article.html
1) http://: This is the protocol, which is HTTP Hypertext Transfer Protocol is the protocol used to transmit web pages online.
2) www: This is the server name, which refers to the information network formed on the Internet based on hypertext.
3)php.cn: This is a domain name, a unique name used to locate the website.
4) www.php.cn: This is the website name, consisting of the server name and domain name.
5)/: This is the root directory, that is, find the server through the website name, and then store the root directory of the web page on the server
6:) article.html: This is the root directory The web page under
7) http://www.php.cn/article.html: This is called URL, Uniform Resource Locator, global address, used to locate resources on the Internet.
The above is the detailed content of What does url mean?. For more information, please follow other related articles on the PHP Chinese website!