Group related elements in a form:
The <fieldset> tag is supported in all major browsers.
The <fieldset> tag is used to group related elements in a form.
The <fieldset> tag draws a box around the related elements.
Tip: The <legend> tag defines a caption for the <fieldset> element.
HTML5 has added new attributes for <fieldset>.
New : New in HTML5.
|disabledNew||disabled||Specifies that a group of related form elements should be disabled|
|formNew||form_id||Specifies one or more forms the fieldset belongs to|
|nameNew||text||Specifies a name for the fieldset|
The <fieldset> tag also supports the Global Attributes in HTML.
The <fieldset> tag also supports the Event Attributes in HTML.
Your message has been sent to W3Schools.