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
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
