In article <56abea205fli...@torrens.org>, Richard Torrens (lists)
<li...@torrens.org> wrote:
> I was trying to validate an html page using w3c validator. I could not!

> The reason was that the page contains lots of links to Google searches
> etc. e.g. <a
> href="http://www.google.co.uk/search?hl=en&source=hp&ie=ISO-8859-1&q=omeprazole+causes+bile+reflux&btnG=Google+Search";>

> The validator complains about the & in there - it wants &amp; but the
> link with that in won't work.

No, &amp; won't work from your editor. It will work only in the Browser.

The four amp version of the link above will be
http://www.google.co.uk/search?hl=en&amp;source=hp&amp;ie=ISO-8859-1&amp;q=omeprazole+causes+bile+reflux&amp;btnG=Google+Search

And, buried in HTML, it works fine. It doesn't work in Pluto or StrongED
though, so don't expect it to. They are happy with '&' and don't
translate the '&amp;'s as a browser does/has to.

> So is this a fault in the validator - or something which should be
> accomodated in NetSurf?

It's working just as it should. Your example elsewhere had a typo.

-- 

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk

Reply via email to