W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

Re: Error in XHTML Validator???

From: Olivier Thereaux <ot@w3.org>
Date: Mon, 20 Aug 2007 18:49:51 +0900
To: Brian Timmins <brtimmins@googlemail.com>
Cc: www-validator@w3.org
Message-ID: <20070820094951.GA30910@w3.mag.keio.ac.jp>

Hi Brian,

On Mon, Aug 20, 2007, Brian Timmins wrote:
> I think your validator should not be marking this following code as
> invalid...

It is invalid.
 
> <textarea cols="82" rows="1">
> <a href="http://www.brianstimelines.co.uk/index.html">Brian's Timelines:
> Home Page</a>
> </textarea>

According to the HTML4 (and thus XHTML 1.0), the textarea element can
only take PCDATA content, in other words, "plain text, no child
element".

http://www.w3.org/TR/html401/interact/forms.html#h-17.7

-- 
olivier
Received on Monday, 20 August 2007 09:49:56 GMT

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