W3C home > Mailing lists > Public > www-html@w3.org > August 1999

XHTML

From: Alex Blewitt <Alex.Blewitt@ioshq.com>
Date: Tue, 3 Aug 1999 08:09:20 -0400 (EDT)
Message-ID: <37A6DBE0.D258A64@ioshq.com>
To: www-html@w3.org
I do not particularly like the style of checked="checked" for input
types. It seems a little bit of overkill to have the repetition of
'checked' in the HTML source.

Surely a better approach would be to define a binary ENTITY type:

<!ENTITY % Boolean "(yes|no)" "no">

and then use that for checked and other things

<!ATTLIST input
  checked %Boolean; #IMPLIED
  disabled %Boolean; #IMPLIED
  readonly %Boolean; #IMPLIED
>

The boolean type could then be used in other boolean-style places, such
as multiple/disabled/selected

Does this not make far more sense than having a per-element specific
value?

Alex.
Received on Tuesday, 3 August 1999 08:16:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:39 GMT