Kevin Powell - CommunityKP-C
Kevin Powell - Community16mo ago
15 replies
snxxwyy

fieldset & legend

Hey, i have a couple of questions:

1) is the fieldset tag simply just used for grouping inputs and labels within a form or is there more to it?
2) is the legend tag used to simply label the fieldset, or is it used for a question like in the example image?
3) what makes the legend tag sit on top of the fieldset border (see image). Is this just built in functionality since there isn't anything in the user agent style sheet that could place it there, such as position: absolute? Is there a way to move it?

Thank you in advance.
a.png
Was this page helpful?