Form Element Attribute - novalidate, method, action
Attributes:
- novalidate: used to signify that the form won't get validated on submit.
- method: tells the browser how to send form data to a server.
- action: defines the action to be performed when the form is submitted.
Form Elements - fieldset and legend
Attributes:
- fieldset: used to group several controls as well as labels within a web form.
- legend: represents a caption for the content of its parent.
Form Element - label and how to use attributes: for and id
Attributes:
- label: represents a caption for an item in a user interface.
- How to use for: when used together with the label element, the for attribute specifies which form element a label is bound to.
- How to use id: it's a global attribute that defines an identifier (ID) which must be unique. Its purpose is to identify the element when linking, scripting, or styling.
Summary of the Documentation
The form element represents a document that contains many interactive controls. These attributes control the behavior during the form submission.