HTMLFieldSetElement: type property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{ApiRef("HTML DOM")}}

The **type** read-only property of the {{domxref("HTMLFieldSetElement")}} interface returns the string "fieldset".

Value

The string "fieldset".

Example

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("HTMLFieldSetElement")}}
  • {{HTMLElement("fieldset")}}