Fieldset

End Tag: Required
Support Key: 2 | 3 | 3.2 | 4 | IE4B2 | M | N | O
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [indexdot@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
The nestable FIELDSET element is used to group related form fields together. The grouping of form fields allows for a more intuitive visual user interface while also giving speech-based navigation methods better cues of how to render a page.

The suggested rendering for the FIELDSET element is left to the browser, but will usually take the form of a box around the contents of the FIELDSET. If the optional LEGEND element is present directly after the opening FIELDSET tag, its contents are transposed above/on top of the region of the FIELDSET bounding box in the location specified by the ALIGN attribute of the LEGEND element.

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE4B2 | M | N | O
%Events%
2 | 3 | 3.2 | 4 | IE4B2 | M | N | O
%Language%
2 | 3 | 3.2 | 4 | IE4 | M | N | O

Specific Attributes
Align
2 | 3 | 3.2 | 4 | IE4* | M | N | O
Required? No
Description: Specifies the alignment of the contents of the FIELDSET.
Values: Left | Center | Right
Example
<fieldset>
<legend ACCESSKEY=G TABINDEX=1>Gender</legend>
    <label ACCESSKEY=M><input TYPE=RADIO NAME=Gender VALUE=Male>Male</label> <br>
    <label ACCESSKEY=F><input TYPE=RADIO NAME=Gender VALUE=Female>Female</label>
</fieldset>
Parent Model
%Block Parent%
Content Model
%In-line Content% | %Block Content% | <legend>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...