[whatwg] Form controls

Olav Junker Kjær olav at olav.dk
Sun Dec 12 09:55:01 PST 2004

Maybe this is a really stupid question, but what exactly is the 
definition of a "form control" ?

E.g. in section A it says "The oninvalid attribute is added to all form 
controls except fieldset and output elements"

 From the context I would guess that form controls are: select, 
textarea, input, button, fieldset and output elements - but not 
datalist, optgroup, option, label and legend elements, since they don't 
support validation, and an oninvalid handler wouldn't make sense. Is 
this correct?

Olav Junker Kjær

More information about the whatwg mailing list