Home > Designing, Others > Using the fieldset and legend elements

Using the fieldset and legend elements

Leonie Watson:

You should use the

and

elements when:

  • You have a single multiple choice question (using radio buttons or checkboxes).
  • You have several questions relating to the same topic (like text boxes, or any other type of field).

You should not use the

and

when:

  • You have a single form field that asks for a single piece of information.

Direct Link to ArticlePermalink


Using the fieldset and legend elements is a post from CSS-Tricks

Categories: Designing, Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.