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 |
HTMLTextAreaElement: type property - Web APIs | MDN
The string "textarea".
js
const textArea = document.querySelector("textarea");
console.log(textArea.type); // "textarea"
| Specification |
|---|
| HTML # dom-textarea-type-dev |