<fieldset>

<fieldset>

<form action="/action_page.php">
  <fieldset>
    <legend>Personal information:</legend>
    First name:<br>
    <input type="text" name="firstname" value="Mickey"><br>
    Last name:<br>
    <input type="text" name="lastname" value="Mouse"><br><br>
    <input type="submit" value="Submit">
  </fieldset>
</form>

The <fieldset> element is used to group related data in a form.

The <legend> element defines a caption for the <fieldset> element.

Related concepts

<fieldset> — Structure map

Clickable & Draggable!

<fieldset> — Related pages: