<LEGEND ...>

<LEGEND ...> is used with <FIELDSET> to give a title to each set of fields.

this code produces this
<FIELDSET>
<LEGEND>Personal Stuff</LEGEND><P>
name: <INPUT NAME="realname"><BR>
email: <INPUT NAME="email">
</FIELDSET>
Personal Stuff

name:
email:

Parent: 
Forms