nameHTML5 The name associated with the group. The label for the field set is given by the first<legend>element that is a child of this field set. Examples Example #1: Form with fieldset, legend, and label <form action="test.php" method="post"> <fieldset> <legend>Title</legend> <...
Permitted parentsAny element that acceptsflow content. Implicit ARIA rolegroup Permitted ARIA rolesradiogroup,presentation,none DOM interfaceHTMLFieldSetElement Specification HTML #the-fieldset-element See also The<legend>element The<input>element
In January 1997, HTML 3.2 introduces forms and some form controls, but does not include the fieldset or legend elements. In July 1997, the first draft of HTML 4.0 introduces the fieldset and legend elements: The FIELDSET element allows form designers to group thematically related controls toget...
Become a caniuse Patron to support the site and disable ads for only $1/month! or Log in Site links Home Feature index Browser usage table Feature suggestion list Caniuse data on GitHub Legend Green ✅ = Supported Red ❌ = Not supported Greenish yellow ◐ = Partial suppo...