The <fieldset> tag is used to logically group together elements in a form.
Supported In HTML4: Yes
Supported In HTML5: Yes
HTML4 vs HTML5 Differences: HTML 5 has the attributes disabled, form, and name, which was not supported in HTML 4.01.
Attributes
| Title | Values | Description | HTML4 Support | HTML5 Support |
| disabled | disabled | Defines if the fieldset is visible or not | No | Yes |
| form | formname | Defines one ore more forms the fieldset belongs to | No | No |
| name | value | Defines the name of the fieldset | No | No |
Standard Attributes
All standard attributes are supported.
Event Attributes
All event attributes are supported.
HTML5 Tags
- a
- abbr
- acronym
- address
- applet
- area
- article
- aside
- audio
- b
- base
- basefont
- bdo
- big
- blockquote
- body
- br
- button
- canvas
- caption
- center
- cite
- code
- col
- colgroup
- command
- datalist
- dd
- del
- details
- dfn
- dir
- div