A visual grouping of form fields
The fieldset element groups together related form labels and fields.
When used in a form, the fieldset element can be styled to visually guide the user to show which form elements are tightly related and which are separate and distinct.
By default, the browser draws a fieldset element as a wire-framed box with an overlaid caption. The caption is obtained from the first
legend element inside the fieldset.
- When present, the disabled attribute disables all of the form elements subordinate to it.
- This attribute may be used to declare the fieldset to be part of a form even when it is not directly subordinate to it. Provide the ID of the form.
- The fieldset element groups together related form labels and fields.