Using the fieldset and legend elements
Category: Link
Leonie Watson:
You should use the
<fieldset>
and<legend>
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
<fieldset>
and<legend>
when:
- You have a single form field that asks for a single piece of information.
Direct Link to Article — Permalink
Using the fieldset and legend elements is a post from CSS-Tricks
LEAVE A REPLY
You must be logged in to post a comment.