W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2001

Re: xhtml 1.0, w3c validator, nitpicks

From: Kynn Bartlett <kynn-edapta@idyllmtn.com>
Date: Mon, 12 Nov 2001 13:29:28 -0800
Message-Id: <4.2.0.58.20011112132648.015cb580@garth.idyllmtn.com>
To: jonathan chetwynd <j.chetwynd@btinternet.com>
Cc: w3c-wai-ig@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:58 GMT