HTMLFieldSetElement: type property

The type read-only property of the HTMLFieldSetElement interface returns the string "fieldset".

Value

The string "fieldset".

Example

js
const fs = document.querySelector("fieldset");
console.log(fs.type); // "fieldset"

Specifications

See also