Grouping Form Elements with the Fieldset Element:

Use the ‘fieldset’ (<fieldset>...</fieldset>) element to group form data areas together!

Most browsers will display these groups with a line around the edge. This presentation of this grouping can be altered with CSS and also helps clarify data groups to users.

The Legend Elements

The legend element (<legend>...</legend>) comes directly after the fieldset element tag. The caption should help identify the purpose of this form group.

{ TODO: }

Read page 164 of Chapter 07 in Duckett.


Previous section:
Next section: