input name -- when required

At 02:22 PM 2001-06-05 -0400, Steven McCaffrey wrote:
>The name attribute is apparently involved but not always required.  Are there
preferences in terms of valid HTML4?
>

AG::

For INPUT elements, the rule is

<!-- attribute name required for all but submit and reset -->

It should be used the same way for the BUTTON element, but the DTD comment is
not repeated.

Al

Quote is from the HTML 4.01 specification on the W3C site

<http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT>http://www.w3.
org/TR/html401/interact/forms.html#edef-INPUT

Received on Tuesday, 5 June 2001 14:46:39 UTC