web api instance property
HTMLFieldSetElement: type property
The type read-only property of the HTMLFieldSetElement interface returns the string "fieldset".
Value
The string "fieldset".
Example
const fs = document.querySelector("fieldset");
console.log(fs.type); // "fieldset"
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.