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