HTML · Forms and controls

fieldset

Groups related controls, especially radio buttons.

Syntax
<fieldset>…</fieldset>

Example

Try it

More in this group

button datalist form input input types label legend meter

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course