Well, you learn something new everyday! Thanks all for your help
----- Original Message -----
From: Ben Wong
Sent: Thursday, August 10, 2006 1:08 PM
Subject: Re: [WSG] XHTML strict maxlength

> As far as I can see, maxlength is a valid XHTML strict attribute, can anyone
> tell me why this isn't validating?!

Not for textarea. Only for input.

From the x-html strict dtd...

<!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->
<!ATTLIST textarea
  %attrs;
  %focus;
  name        CDATA          #IMPLIED
  rows        %Number;       #REQUIRED
  cols        %Number;       #REQUIRED
  disabled    (disabled)     #IMPLIED
  readonly    (readonly)     #IMPLIED
  onselect    %Script;       #IMPLIED
  onchange    %Script;       #IMPLIED
  >

--
Ben Wong
e: [EMAIL PROTECTED]
w: http://blog.onehero.net


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************


******************************************************
The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to