Form Element Attribute - novalidate, method, action
novalidate- is a boolean attribute that is applied to the form element. It determines that the form will not be validated upon submit.
method- an attribute of the form element. It can have the values get and post. It will send data as a URL string when get is applied. For post, the form data will be sent via the server.
action-this is a form attrubute that tells where to send tha data when the form is submitted.
Form Elements - fieldset and legend
fieldset-is a form element that is used to group several controls and labels in a form.
legend-this is an elenment that is used in a fieldset that adds a caption to the parent fieldset.
Form Element - label and how to use attributes: for and id
label-the form element label is usled to add a caption or label for an item in the user interface of a form.
for- is an attribite of the label element. It should be equivalent to and delinieate the same information as the id attribute. These two attributes will be linked in this way.
id-is an attribute of the input element. It should be the same as the for attribute of the label. They will be bound together this way.
Summary
The first list of elements are used in the functioning, and data collection aspects of a form. The second set of elements are used in setting up the organization of the form. The last set of attributes are used to ensure the data is collected in an organized fashion. All of these are necessary components of a form. They also help to ensure the accessability of the form.