TONINA STAUNTON
TEAM LEADER, WEB MANAGEMENT
INFORMATION SERVICES
Tel +61(0) 2 62036623  Ext 156623
 


From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Paul Collins
Sent: Thursday, 10 August 2006 10:35 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] XHTML strict maxlength

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
******************************************************

**********************************************************************
WARNING

This email message and any attached files may contain information
that is confidential and subject of legal privilege intended only for
use by the individual or entity to whom they are addressed. If you
are not the intended recipient or the person responsible for
delivering the message to the intended recipient be advised that you
have received this message in error and that any use, copying,
circulation, forwarding, printing or publication of this message or
attached files is strictly forbidden, as is the disclosure of the
information contained therein. If you have received this message in
error, please notify the sender immediately and delete it from your
InBox.

AFP Web site: http://www.afp.gov.au
**********************************************************************

******************************************************
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