<fieldset> tag in HTML

The <fieldset> tag used to defines group related elements in an HTML form, defines the <fieldset> tag within <form> tag.

Important Description

  • The <legend> tag defines a caption for the <fieldset> element.
  • Open and close tag required of <fieldset>.

Example of <fieldset> tag

<fieldset> Tag Browser Support

All modern and old browser supports <fieldset> tag, the list of browsers mentioned below:

Element Chrome Edge Firefox Safari Opera
<fieldset> Yes Yes Yes Yes Yes

Global Attributes

Event Attributes


There are some standard attributes listed for <fieldset> tag:

Attribute Value Description
disabled disabled Disabled attribute indicates that a group of related form elements must be disabled.
form form_id Form_id attribute defines one or more forms the fieldset belongs to
name text Text attribute defines a name for the fieldset

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at ""

© 2021 GDATAMART.COM (All Rights Reserved)