HTML basis of the URL

HTML URL

The URL of: U niform R eSource L ocators - Uniform Resource Locator
Web browser requests a page from the Web server through a URL. It is a web address, it may consist of letters, such as "W3CSchools.cc", or Internet Protocol (IP) address: 192.68.20.50. Most people enter the site using the domain to access, because the name is easier to remember than numbers.

Common URL Schemes

Scheme access For ...
http Hypertext Transfer Protocol With http: // at the beginning of a normal web page. Not encrypted
https Secure Hypertext Transfer Protocol Secure pages, encrypt all information exchange
ftp File Transfer Protocol For file download or upload to the site
file Files on your computer

URL Character Encoding

  • URL can only use the ASCII character set .
  • URL-encoded characters will be converted to a format that can be transmitted over the Internet. To send over the Internet, often because the URL contains characters other than ASCII collection, URL must be converted to a valid ASCII format.
  • URL encoded using the "%" followed by two hexadecimal numbers to replace non-ASCII characters.
  • URL can not contain spaces. + URL encoding normally used to replace spaces.

URL coding examples

character URL encoding
%80
£ % A3
© % A9
® %AE
AT %C0
In %C1
 %C2
à % C3
Ä % C4
To % C5

View full URL coding examples

Published 25 original articles · won praise 19 · views 672

Guess you like

Origin blog.csdn.net/devin_xin/article/details/105014609