The fieldset tag is used to group related elements in HTML and XHTML documents. The fieldset tag draws a box around the related elements.