Fieldset Element

Example grouping form fields.

Preview

Code

<form>
<fieldset>
<legend>User Info</legend>
<input type="text" placeholder="Name">
</fieldset>
</form>

More HTML Form Elements Examples (7)