What is a Fieldset in HTML ?
The <fieldset> is used for grouping all the controls of the form together to give it a structured look. It adds a border around the form to give it a differentiated look from all the other parts of the web page. We can also use the <legend> tag to give a caption to the form which is included inside the <fieldset>.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
- disabled: It specifies that the group of related form elements should be disabled.
- form: It specifies that one or more forms the fieldset belongs to.
- name: It specifies the name for the fieldset.