Re: Error in XHTML Validator???

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 UTC