HTML <legend> element


<legend> tag defines the title of a fieldset or figure tag.

<fieldset>
<legend>Log In</legend>
Name:<input><br>
Password:<input>
</fieldset>

Log In Name:
Password: