Firefox Tomorrow

web api instance property

HTMLOutputElement: type property

View on MDN ↗

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.

See also