HTML <fieldset> Tag

The <fieldset> tag is used to group related elements in a form.The <fieldset> tag draws a box around the related elements.


Attribute Value Description
disabled disabled Specifies that a group of related form elements should be disabled
form form_id Specifies one or more forms the fieldset belongs to
name text Specifies a name for the fieldset


<!DOCTYPE html>

  <legend>Personal Info:</legend>
  Name: <input type="text"><br>
  Email: <input type="text"><br>
  Date of birth: <input type="text">


© copyright 2017-2022 Completedone pvt ltd.