Why do we need a <fieldset>
tag? Whatever purpose it serves is probably a subset of the form tag.
I looked up some info on W3Schools, which says:
- The
<fieldset>
tag is used to group related elements in a form.
- The
<fieldset>
tag draws a box around the related elements.
More explanation for those who are mistaking "why it exists in specification" for "what it does".
I think the drawing part is irrelevant, and I don't see why we need a special tag just to group some related elements in a form.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…