Note: This element inserts a descriptive caption in the container box of a <fieldset> element. This element must be the first element between the opening and closing tags of the <fieldset> element. This element defines the group of fields contained between the <fieldset> element. Syntax: <legend attributes events> . . . </legend>