Fieldset Tag Lab
Easy
6
86.4% Acceptance
In this lab, you will practice creating a simple form using the fieldset
and legend
elements to organize the input fields.
A fieldset element is used to group related elements in a form, while the legend element provides a caption for the fieldset. This enhances the accessibility and organization of the form. You can see the fieldset documentation here
Fieldset works by wrapping around the form elements you want to group, and the legend element is placed inside the fieldset, acting as the label.
You are required to create a form with a fieldset containing input elements for username
and email
each with corresponding labels.