<fieldset>
tag
Groups related elements within a form. The <legend> element provides a caption for the group.
Syntax
<fieldset>\n <legend>Group Title</legend>\n ...\n</fieldset>
Example
html
<form>
<fieldset>
<legend>Personal Information</legend>
<label for="fname">First Name:</label>
<input type="text" id="fname" name="fname">
<label for="lname">Last Name:</label>
<input type="text" id="lname" name="lname">
</fieldset>
</form>