MDN self-hosted library · e01.org

HTMLFieldSetElement: type property

HTML DOM

Open notebook · 1 cells web-api-instance-property upstream source

HTML DOM

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

Browser compatibility

See also

  • HTMLFieldSetElement
  • fieldset