In article <56abea205fLists@Torrens.org>, Richard Torrens (lists)
<Lists@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 & but the
> link with that in won't work.
No, & 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&source=hp&ie=ISO-8859-1&q=omeprazole+causes+bile+reflux&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 '&'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
No comments:
Post a Comment