fieldset

The fieldset element represents a set of form controls grouped under a common name.

Attributes

<fieldset attribute-name="attribute-value"></fieldset>
Name Value Description
disabled disabled | empty Specifies that the element represents a disabled control
form IDREF Identifies a form with which to associate the element - HTML5
name string Name part of the name/value pair associated with this element for the purposes of form submission

Global

CSS

fieldset {
  border: 2px groove (internal value);
  display: block;
  margin-left: 2px;
  margin-right: 2px;
  padding: 0.35em 0.75em 0.625em;
}

Example | disabled

Example | form

Example | name

Example | CSS

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1