Re: Remarks on the HTML 4.01 Specification

Steffen Goeldner wrote:
> 
> Remarks on the HTML 4.0 Specification (http://www.w3.org/TR/html40)
> ===================================================================
> 
> 17.4 The INPUT element (interact/forms.html#h-17.4)
> ---------------------------------------------------
> 
> - DTD
> 
>   value CDATA #IMPLIED  -- required for radio and checkboxes --
>                -------     --------

I propose "Specify for radio buttons and checkboxes".

> - Attribute definitions
> 
>   value = cdata [CA]
>         This attribute specifies the initial value of the control.
>         It is optional except when the type attribute has the value
>               --------
>         "radio".
 
> Remark:
> 
>   'IMPLIED', 'required' and 'optional' are still used contradictory
>   ('value' is required for radio  a n d  checkboxes due to the DTD,
>     but    is required for radio  o n l y  due to the Attribute
>     definitions).
>   This could lead to different implementations.
>   The default value 'on' is supplied by IE 4.x and NC 4.x for both
>   control types (checkboxes and radio buttons).

I think the answer is to change the value definition to include
"checkbox" in addition to "radio".

 -  Ian


-- 
Ian Jacobs (jacobs@w3.org)   http://www.w3.org/People/Jacobs
Tel/Fax:                     +1 212 684-1814
Cell:                        +1 917 450-8783

Received on Thursday, 9 September 1999 10:26:39 UTC