Defines a caption for a fieldset.
The legend tag is used to insert a title to the outline of the fieldset element. You can only use this element within a fieldset tag.
<fieldset>
<legend>Personal Information</legend>
<form>
<label for="username">name:</label>
<input type="text" id="username" size="25" />
<label for="password">password:</label>
<input type="text" id="password" size="25" />
</form>
</fieldset>