HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

fieldset

Description

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

Syntax

HTML

<fieldset attribute-name="attribute-value"></fieldset>

Attributes

Global

NameValueDescription
disableddisabled | emptySpecifies that the element represents a disabled control
formIDREFIdentifies a form with which to associate the element
namestringName part of the name/value pair associated with this element for the purposes of form submission

CSS

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

Examples

1 · disabled

2 · form

3 · name

4 · CSS