Prev | Current Page 142 | Next

Kevin Potts

"Web Design and Marketing Solutions for Business Websites"

Even in smaller forms, a single fieldset is preferable to none.
The fieldset also benefits from its own proprietary tag, called a legend, marked up, amazingly
enough, with . The legend provides a descriptive caption to the fieldset:


Your Shipping Address
... name, address, country, etc ...


Billing Information
... credit card number, expiration date, blood of first born ...


Using the
and tags allows form data to be more organized both
semantically and visually, thus easier to understand and navigate.
Be careful with submission. In general, it is recommended to use HTML buttons rather
than images as submission buttons, if only to prevent end-users from leaving your form
impotent if they turn off the display of images. If images are used, include a descriptive
alt attribute, like so:
Figure 3-4.
This type of contact form is very common. Using
the