HTMLOutputElement: type property
HTML DOM
HTML DOM
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
Browser compatibility
See also
- HTMLOutputElement
- output