HTML URL Encoding Reference / PDF
Sample of the pdf document :
URL - Uniform Resource Locator
Web browsers request pages from web servers by using a URL.
URL Encoding
Since URLs often contain characters outside the ASCII set, the URL has to
be converted into a valid ASCII format.
URL encoding replaces unsafe ASCII characters with a "%" followed
by two hexadecimal digits.
URLs cannot contain spaces. URL encoding normally replaces a space with a +
sign.
Try It Yourself
If you click the "Submit" button below, 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.
URL Encoding Functions
In JavaScript, PHP, and ASP there are functions that can be used to URL
encode a string.
In JavaScript you can use the encodeURI() function. PHP has the
rawurlencode() function and ASP has the Server.URLEncode() function.
Click the "URL Encode" button to see how the JavaScript function
encodes the text.
Note: The JavaScript function encodes space as %20.......
Click here for Download PDF / FREE
Link hover text-decoration underline
RépondreSupprimerhtml examples for beginner webmasters