
In Dreamweaver’s Code view, you can add the <fieldset> and <legend> tags by selecting a set of existing
controls that you’d like to group and then clicking the Fieldset button in the Forms category of the Insert panel.
If you are in Design view when you click the Fieldset button, Dreamweaver automatically switches to the split
view and makes Code view active. However, it is best to apply the <fieldset> tag in Code view so you can
be sure you have correctly selected all the HTML tags to be grouped.
Note that the <fieldset> tag is not supported in all browsers, but Dreamweaver renders it just fine.
Providing Checkboxes and Radio Buttons
When you want your Web page user to choose between a specific set of options in your form, you
can use either checkboxes or radio buttons. Checkboxes enable you to offer a series of options from
which the user can pick as many as he wants. Radio buttons, on the other hand, restrict your user to
only one selection from a number of options.
You can achieve the same functionality as checkboxes and radio buttons with a different
look by using drop-down lists and menu boxes. These methods for presenting options to
the user are described shortly.
Checkboxes
Checkboxes are often used in a “Select All That Apply” type of section, when you want to enable
the user to choose as many of the listed options as desired. You insert a checkbox i ...