In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces HTML how to unify the resource locator and URL coding, the article is very detailed, has a certain reference value, interested friends must read it!
HTML uniform Resource Locator (URL)
URL is also known as a web address.
URL can consist of words, such as HuluMiao.cn, or the Internet Protocol (IP) address: 192.168.1.253.
When most people surf the Internet, they type in the domain name of the URL (such as HuluMiao.cn) because names are easier to remember than numbers.
The Web browser requests pages from the web server through URL (uniform Resource Locator).
URL is the address of a web page, such as http://www.yisu.com/.
URL-Uniform Resource Locator
The uniform Resource Locator (URL) is used to locate documents (or other data) on the World wide Web.
When you click a link on the HTML page, the corresponding label points to an address on the World wide Web.
URLs, such as http://www.yisu.com/html/hello.php, follow 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 an Internet domain name, such as yisu.com
: 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 in the root directory of the website).
Filename-defines the name of the document / resource
Note: the full name of URL is Uniform Resource Locator in English, and it is also translated as "uniform Resource Locator" in Chinese.
URL Schemes
Here are some of the most popular scheme:
Http: hypertext transfer protocol, a normal web page that begins with "http://"." No encryption.
Https: secure Hypertext transfer Protocol, secure web pages. Encrypt all information exchanges.
Ftp: file transfer protocol for downloading or uploading files to a website.
File: used to access files on your computer.
HTML URL coding
URL coding converts characters into a format that can be transmitted over the Internet.
URL can only use the ASCII character set to send over the Internet.
Because URL often contains characters outside the ASCII collection, URL must be converted to a valid ASCII format.
URL encoding replaces non-ASCII characters with "%" followed by two hexadecimal digits.
URL cannot contain spaces. URL encodings usually use + to replace spaces.
URL coding example
Percent:% 80
£:% A3
©:% A9
®:% AE
Percent:% C0
Á:% C1
R:% C2
Use:% C3
% C4
:% C5
These are all the contents of the article "how HTML unifies Resource Locator and URL coding". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.