The fieldset and legend Elements


« Previous Next »

The <fieldset> element is used to group related data in a form.

The <legend> element defines a caption for the <fieldset> element.







Live Demo & Try it yourself!