Last updated: 2026-09-12
Groups related form controls and shows an optional legend, improving readability and accessibility.
</fieldset>
<fieldset> <legend>Group title</legend> ...controls... </fieldset>
This element supports the global attributes plus the following:
name
disabled
form
Edit the code below and see the live result in the playground:
Web-Tutorial Tech Team
A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.
About Us