HTMLTextAreaElement: type property - Web APIs | MDN

Value

The string "textarea".

Example

js

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

Specifications

Specification
HTML
# dom-textarea-type-dev

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.