15.9.2 Form and Element Properties
15.9 HTML Forms | 399
All (or most) form elements have the following properties in common. Some elements have other special-purpose properties that are described later when various types of form elements are considered individually:
A read-only string that identifies the type of the form element. For form elements that are defined by antag, this is simply the value of the type attribute. Other form elements (such asand) define a type property so that they can easily be identified by the same test that distinguishes betweenelements. The second column of Table 15-1 lists the value of this property for each form element.
A read-only reference to the Form object in which the element is contained, or null if the element is not contained within aelement. name A read-only string specified by the HTML name attribute. value