W3C home > Mailing lists > Public > www-validator@w3.org > March 2006

Re: TEXTAREA Validation?

From: David Dorward <david@dorward.me.uk>
Date: Fri, 24 Mar 2006 07:56:27 +0000
To: web@fastie.net
Cc: www-validator@w3.org
Message-Id: <1143186988.7507.14.camel@cyberman.dorward.me.uk>

On Thu, 2006-03-23 at 16:19 -0500, Will Fastie wrote:
> On a page with several textareas containing code (JavaScript) for
> display (as opposed to being on a form), the validator issued various
> errors and warnings about the content of the textareas.

> Is this the expected behavior or should the validator ignore textarea
> content?

It is expected behaviour, represent characters that have special meaning
in HTML to entities as per normal:
http://allmyfaqs.net/faq.pl?Show_HTML_examples

-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy
Received on Friday, 24 March 2006 07:58:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:21 GMT