A form field collects a specific piece of information within a form.
Where it goes: Inside a form
Additional instructions
Use sentence case for labels and error messages.
Accessibility notes
- Include the
<label>
element for each form field, along withfor /id
to associate each label with the corresponding form field. - Use
<fieldset>
and<legend>
to group associated form fields where appropriate.
Example
Date Last Reviewed: