| Author |
Message |
martinz Grandmaster Poster

Joined: 01 Oct 2007 Posts: 287
|
Posted: Wed Dec 05, 2007 10:09 am Post subject: Help, confused with codes here ! |
|
|
I am a little confused with codes here. I had a pdf document uploaded to Facebook, Share Homework module. This module is powered by Scribd. Embed codes are not available at this Share Homework module, but managed to find the following codes from the page source.
http://static.scribd.com/Flash....._id=751979
I make a comparison with the embed codes available at scribd.com, and changed it to the following. Basically, I replace \x26amp; with &, and added &page=1 behind the code.
http://static.scribd.com/Flash.....amp;page=1
What puzzled me is that what does \x26amp; stands for? I tried to find out from HMTL tutorial sites but lead to no answer. Is \x26amp; equivalent to & ? Appreciate any help or advice, thanks. |
|
| Back to top |
|
| |
marinaroz Grey Scaled

Joined: 04 Mar 2004 Posts: 2776 Location: Israel
|
Posted: Wed Dec 05, 2007 12:28 pm Post subject: |
|
|
When you want to use ampersand (&) in HTML, it's safer to write '&' instead of '&' because ampersand is a special character and can be messed up in different encodings.
If you google 'x26', you'll find that it also means '&' (though I'm not very sure in which programming language or technology). So when writing 'x26amp;' they meant '&', but I'm not sure the 'x26amp;' will be recognized by HTML as '&', better stick with '&' in my opinion. _________________ Tarakana NET |
|
| Back to top |
|
| |
martinz Grandmaster Poster

Joined: 01 Oct 2007 Posts: 287
|
|
| Back to top |
|
| |
|
|
|