Horje
How to set URL Encoding

URLs can only be sent over the Internet using the ASCII character-set. If a URL contains characters outside the ASCII set, the URL has to be converted.

URL encoding converts non-ASCII characters into a format that can be transmitted over the Internet.

URL encoding replaces non-ASCII characters with a "%" followed by hexadecimal digits.

URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign, or %20.


Example of URL Encoding

If you click "Submit", the browser will URL encode the input before it is sent to the server. A page at the server will display the received input. Try some other input and click Submit again.
index.html
Example: HTML
Suppose Your Normal url: https://horje.com/Hello Günter
URL Encoding url: https://horje.com/Hello%20G%C3%BCnter

Output should be:

Example of URL Encoding





Related Articles
What is HTML Uniform Resource Locators HTML URL Encode
What is URL - Uniform Resource Locator HTML URL Encode
What is Common URL Schemes HTML URL Encode
How to set URL Encoding HTML URL Encode
What is ASCII Encoding Examples HTML URL Encode

Single Articles
Example of URL EncodingHTML URL Encode

Read Full:
HTML URL Encode
Category:
Web Tutorial
Sub Category:
HTML URL Encode
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
49


Reffered: https://www.w3schools.com

Share on: