> I'm not sure this is true. In section 17.12.2 of the HTML 4.01 spec
> (http://www.w3.org/TR/html401/interact/forms.html#adef-readonly) it says; 
> 
> "The following elements support the readonly attribute: INPUT and TEXTAREA."
> 

It is supported according to the dtd (and for the TEXTAREA element, too)
This is form the "strict" dtd, not the "loose" one:
------------------------------------------------------------------------

<!-- attribute name required for all but submit and reset -->
<!ELEMENT INPUT - O EMPTY              -- form control -->
<!ATTLIST INPUT
  %attrs;                              -- %coreattrs, %i18n, %events --
  type        %InputType;    TEXT      -- what kind of widget is needed --

...
  readonly    (readonly)     #IMPLIED  -- for text and passwd --
...

  accept      %ContentTypes; #IMPLIED  -- list of MIME types for file upload --
  %reserved;                           -- reserved for possible future use --
>

The Html 4.01 spec contains a pertty usable table of the attributes,
what are specified in what dtd ahat are the deprecated ones. It is at
the $SPECHOME/index/attributes.html.                              incze

Reply via email to