<FIELDSET>
The FIELDSET tag is used to group a logical collection of
input controls. This means you can create distinct areas of
your form which each serve a specific purpose. You can have
one FIELDSET containing a member's personal information and
another which contains their user preferences.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
|
Example
<FORM ACTION="">
<FIELDSET>
<LEGEND>Personal Information</LEGEND>
<TABLE BORDER="0" CELLPADDING="10"><TR><TD>
First Name <INPUT TYPE="text" NAME="firstname"><BR>
Last Name <INPUT TYPE="text" NAME="lastname"><BR>
</TD></TR><TABLE>
</FIELDSET>
</FORM>
Renders As:
Compatibility
HTML 4.01
|