|
Posted by barb28 on September 26, 2004, 10:50 pm
Please log in for more thread options
Hello, sometimes I have noticed that
in web addresses, the number:
20%
will show up in the address. I think this is
somehow related to a 'blank space', but am
unsure, does anyone know about this?
I have seen it mostly I think with netscape,
but also other programs.
www.website.com/page.html
might be listed as:
www.website.com/20%page20%.html
any ideas what it means?
|
|
Posted by Toby Inkster on September 27, 2004, 7:15 am
Please log in for more thread options
barb28 wrote:
> Hello, sometimes I have noticed that
> in web addresses, the number:
> 20%
> will show up in the address. I think this is
> somehow related to a 'blank space', but am
> unsure, does anyone know about this?
Not "20%", but "%20" I think you'll find. Yes it represents a space
character.
A percent sign followed by a two-digit hexadecimal number (a hexadecimal
digit is a number 0-9 or a letter A-F) can be used to encode various
characters.
Look at the "Hx" and "Char" columns in the first table here:
http://www.asciitable.com/
Notice that the "Hx" code for the character "Space" is "20". So that means
that a space in a website address can be encoded as "%20". Similarly the
code for an "o" is "%6F", so you can do a link to Google like this:
http://www.g%6F%6Fgle.c%6Fm/
With an "o" character, swapping "o" for "%6F" is silly as it makes the
address less readable. But with a space character, swapping for "%20" is
needed because website addresses aren't allowed to contain a real space
character (because otherwise it would be difficult to tell where they
begin and end!)
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
|
|
Posted by Mark Parnell on September 27, 2004, 4:02 pm
Please log in for more thread options comp.infosystems.www.authoring.html:
> Hello, sometimes I have noticed that
> in web addresses, the number:
>
> 20%
%20
> will show up in the address. I think this is
> somehow related to a 'blank space', but am
> unsure, does anyone know about this?
http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
--
Mark Parnell
http://www.clarkecomputers.com.au
|
| Similar Threads | Posted | | Why Blank Space on Last Row of Table? | July 29, 2004, 3:00 am |
| Blank UA String | October 11, 2008, 7:55 pm |
| Can an input field have a blank name? | September 5, 2005, 8:29 pm |
| A blank line at the top of my page | November 20, 2007, 8:39 pm |
| Blank line after a definition list (DL)? | March 2, 2008, 3:44 pm |
| Blank lines and paragraph break in html | May 10, 2007, 10:31 pm |
| can button show something other than value? | August 31, 2005, 11:56 am |
| Show/Hide div | June 3, 2008, 5:15 pm |
| How to show last updates in the Website? | January 24, 2005, 7:48 am |
| How to show last updates in the Website | January 25, 2005, 5:08 am |
|