fieldset
element represents a set of form controls optionally grouped
under a common
name
fieldset
element represents a set of form controls optionally grouped
under a common
name
legend
element represents a caption for the contents of its parent
fieldset
legend
element that is a child
of the
fieldset
element, if any
disabled
attribute, when specified, causes all the form control
descendants of the
fieldset
element, excluding those
that are descendants of the fieldset
element's first legend
element child, if any, to be
disabled
form
attribute is used to explicitly associate the
fieldset
element with its form
owner
name
attribute represents the element's name
<form action="#"> <fieldset> <legend>Do you agree?</legend> <input type="checkbox" id="chbx" name="agree" value="Yes!" /> <label for="chbx">I agree</label> </fieldset> </form>
legend
in its own fieldset