FrontendDeveloper.in

HTML Track Detail

What is `fieldset` and `legend` used for?

fieldset groups related form controls, and legend provides the group label. This improves form semantics and accessibility.