i2tutorials

HTML URL Encode

HTML URL Encode

 

A URL is another word for a web address.URL stands for Uniform Resource Locator. It is actually a web address. A URL can contain words i.e. (i2tutorials.com) or an Internet Protocol (IP) address i.e.195.201.68.81. Most of the users use URL in the form of words because it is the easiest way to remember than numbers.

 

Syntax:

 

scheme://prefix.domain:port/path/filename

 

some common types of schemes used in URL:

 

 

URL Encoding:

 

URL encoding is provided to convert non-ASCII characters into a format that can be used over the Internet because a URL is sent over the Internet by using the ASCII character-set only. If a URL contains characters outside the ASCII characters set, the URL has to be converted.

 

In URL encoding, the non-ASCII (American Standard Code for Information Interchange) characters are replaced with a “%” followed by hexadecimal digits.

 

HTML URL Encode

 

 

Exit mobile version