MDN self-hosted library · e01.org

HTMLOutputElement: type property

HTML DOM

Open notebook · 1 cells web-api-instance-property upstream source

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