Re: Flagging & in URL in HTML 4.01 transitional type.

----- Original Message -----
From: "Peter K. Sheerin" <pete@petesguide.com>
To: <www-validator@w3.org>
Sent: Friday, June 08, 2001 9:36 PM
Subject: Re: Flagging & in URL in HTML 4.01 transitional type.


> While the use of &amp; for escaping (and &#32;) it theoretically works, I
> have found that not all browsers correctly handle such URLs when pasted into
> the address field.

They shouldn't!

The actual URL is <URL: http://...&.../ >. It's only when it's written in HTML
(or XML) that the & must be escaped to <URL: http://...&amp;.../ >. But if you
paste the address with &amp; in the address bar, you're telling the browser to
go to <URL: http://...&amp;.../ >, which would be written as <URL:
http://...&amp;amp;.../ > in HTML.

All browsers except an old Mac browser and an early version of Amaya support
&amp; in 'href' attributes.

Received on Friday, 8 June 2001 16:51:27 UTC