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


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

Received on Tuesday, 3 August 1999 08:16:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:51 UTC