Easy Tutorial
❮ Prop Range Autofocus Prop Style Orphans ❯

Fieldset type Attribute

Fieldset Object

Example

Returns which type of form element the fieldset is:

x Output result is:


Definition and Usage

The type attribute returns which type of form element the fieldset is.

For fieldset, this attribute always returns "fieldset".

Note: This attribute is read-only.


Browser Support

Except for Internet Explorer and Safari, other major browsers support the type attribute.

Note: Opera 12 and earlier versions do not support the type attribute.


Syntax

Technical Details

| Return Value: | String, indicating the type of form element for the fieldset. | | --- | --- |


Fieldset Object

❮ Prop Range Autofocus Prop Style Orphans ❯