Click to See Complete Forum and Search --> : why <fieldset> tags are used in HTML ?


cofactor
04-28-2006, 01:10 AM
why <fieldset> tags are used in HTML ?

what does it work ?

Charles
04-28-2006, 04:37 AM
From the HTML 4.01 Specification:
The FIELDSET element allows authors to group thematically related controls and labels. Grouping controls makes it easier for users to understand their purpose while simultaneously facilitating tabbing navigation for visual user agents and speech navigation for speech-oriented user agents. The proper use of this element makes documents more accessible.

The LEGEND element allows authors to assign a caption to a FIELDSET. The legend improves accessibility when the FIELDSET is rendered non-visually.
http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FIELDSET ..