Re: xhtml 1.0, w3c validator, nitpicks

At 01:18 PM 11/12/2001 , jonathan chetwynd wrote:
>Today i got most of our site http://www.learningdifficulty.org.uk validated.
>ampersand or & in text seems to report it is invalid code, how to get around 
>this?
><a 
>href="http://www.dfes.gov.uk/sen/search.cfm?submitSearch=yes&QLsearch=yes&ql=3">

This is a Validator FAQ.  Use &amp; if you want it to come across as an
ampersand (otherwise the browser may try to match a "&ql" character which
does not exist).

Do this:

http://www.dfes.gov.uk/sen/search.cfm?submitSearch=yes&amp;QLsearch=yes&amp;ql=3

Contrary to what some people may guess, no browser out there will have
any problems with this.  (It's been tested -- it doesn't produce any
errors, and the "&" (not the "&amp;) gets sent to the server, as it
should.

--Kynn





-- 
Kynn Bartlett  <kynn@idyllmtn.com>                http://kynn.com/
Chief Technologist, Idyll Mountain Internet   http://idyllmtn.com/
Online Instructor, Accessible Web Design     http://kynn.com/+d201

Received on Monday, 12 November 2001 16:31:19 UTC