[thelist] url encoding links to external sites

Kae Verens kverens at contactjuggling.org
Sun Nov 2 14:14:26 CST 2003

fstorr wrote:
> Hi all
> Probably simple, but my brain is near mush.  I need my page to validate 
> to XHTML1.0 but have this link:
> http://www.nationaltrust.org.uk/scripts/nthandbook.dll?ACTION=PROPERTY&PROPERTYID=5 
> That, because it contains reserved characters, is causing my page not to 
> validate.  I've tried encoding the ? with %3f and the = with %3d etc, 
> but the URL then won't play with the national trust's server.  Is there 
> a way out of this?

the question mark should be fine. replace the ampersand with &

Kae Verens
kverens at contactjugling.org

More information about the thelist mailing list