Firefox Tomorrow

web api instance property

HTMLTextAreaElement: type property

View on MDN ↗

The type read-only property of the HTMLTextAreaElement interface returns the string "textarea".

Value

The string "textarea".

Example

const textArea = document.querySelector("textarea");
console.log(textArea.type); // "textarea"

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also